From 4189119ae6b74ee1339b53711b923ccb3c438fd6 Mon Sep 17 00:00:00 2001 From: wet <1034391973@qq.com> Date: Fri, 11 Nov 2022 17:28:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E7=AE=80=E4=BA=91=E7=94=A8=E6=88=B7id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Myshipping.Core/Myshipping.Core.xml | 5 ----- Myshipping.Core/Service/Auth/AuthService.cs | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Myshipping.Core/Myshipping.Core.xml b/Myshipping.Core/Myshipping.Core.xml index b916bb80..fd4e2ae2 100644 --- a/Myshipping.Core/Myshipping.Core.xml +++ b/Myshipping.Core/Myshipping.Core.xml @@ -1267,11 +1267,6 @@ 代码 - - - 名称 - - 模块 diff --git a/Myshipping.Core/Service/Auth/AuthService.cs b/Myshipping.Core/Service/Auth/AuthService.cs index 5f06e30e..5c501b27 100644 --- a/Myshipping.Core/Service/Auth/AuthService.cs +++ b/Myshipping.Core/Service/Auth/AuthService.cs @@ -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自动登录