feat: profile 返回当前套餐名称
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 38s

在认证档案中增加 packageName 字段,并基于租户当前有效订阅从套餐表读取名称返回给前端,便于头像下拉直接展示真实套餐信息。
This commit is contained in:
2026-02-06 13:03:41 +08:00
parent ec5293d892
commit a0e0848af7
3 changed files with 41 additions and 3 deletions

View File

@@ -68,6 +68,7 @@ public sealed class AuthController(IAdminAuthService authService) : BaseApiContr
/// "account": "admin",
/// "displayName": "租户管理员",
/// "tenantId": "100000000000000001",
/// "packageName": "标准版",
/// "roles": ["tenant-admin"],
/// "permissions": ["identity:profile:read", "merchant:read"]
/// }