增加Shop API

This commit is contained in:
chfei committed 2026-10-29 11:34:35 +08:00
1 parent 3769193696
commit 5d017740c6
83 files changed
+4451 -696

No files matched your search

+2 -1
View File
@@ -1,3 +1,4 @@
using Store.Users.Contracts.Enums;
using FreeSql;
using MAX.Framework.Security;
using Store.Users.Contracts;
@@ -64,7 +65,7 @@ internal sealed class UserTestContext : IDisposable
var user = new UserEntity
{
UserName = name, NickName = name, Password = "legacy-password", ParentUserName = parent,
GroupId = string.IsNullOrEmpty(parent) ? (byte)3 : (byte)4, SaLevel = level,
GroupId = string.IsNullOrEmpty(parent) ? UserGroup.MainAccount : UserGroup.CustomerService, SaLevel = (UserAdminLevel)level,
Mobile = "", CompanyName = "", Notes = "", CardId = "", Authority = "积分用户,订单",
ForbiddenPage = "", OemId = "", Balance = 0, Points = 0, ShopPointsPerMonth = 30,
PostagePerOrder = 1m, RefundPostagePerOrder = 1m