|
|
|
@ -94,6 +94,7 @@ public class AuthService : IAuthService, IDynamicApiController, ITransient
|
|
|
|
|
{ClaimConst.CLAINM_SUPERADMIN, user.AdminType},
|
|
|
|
|
{ ClaimConst.CLAINM_TENANT_TYPE, tenant.TenantType },
|
|
|
|
|
{ ClaimConst.CLAINM_TENANT_NAME, tenant.Name },
|
|
|
|
|
{ ClaimConst.DjyUserId, user.DjyUserId },
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// 设置Swagger自动登录
|
|
|
|
@ -148,6 +149,7 @@ public class AuthService : IAuthService, IDynamicApiController, ITransient
|
|
|
|
|
{ ClaimConst.CLAINM_SUPERADMIN, user.AdminType },
|
|
|
|
|
{ ClaimConst.CLAINM_TENANT_TYPE, tenant.TenantType },
|
|
|
|
|
{ ClaimConst.CLAINM_TENANT_NAME, tenant.Name },
|
|
|
|
|
{ ClaimConst.DjyUserId, user.DjyUserId },
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// 设置Swagger自动登录
|
|
|
|
|