From 7602503cdedd4c4e53c8caee4fb04c1944c72b71 Mon Sep 17 00:00:00 2001 From: syc_zhaoqianyan Date: Tue, 24 Jun 2025 14:48:28 +0800 Subject: [PATCH] =?UTF-8?q?1.=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/Syc.Basic.Web.WMS.Application/Service/AuthService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/Syc.Basic.Web.WMS.Application/Service/AuthService.cs b/services/Syc.Basic.Web.WMS.Application/Service/AuthService.cs index 554d309..f0ff209 100644 --- a/services/Syc.Basic.Web.WMS.Application/Service/AuthService.cs +++ b/services/Syc.Basic.Web.WMS.Application/Service/AuthService.cs @@ -66,8 +66,8 @@ namespace Syc.Basic.Web.WMS.Service if (!userDO.IsEnable) throw Oops.Oh("用户已被冻结,请联系系统管理员"); - // var userInfo = ObjectMapper.Map(userDO.User(), new Identity()); - var token = jwtTokenService.GenerateToken(userDO); + var userInfo = ObjectMapper.Map(userDO.User(), new Identity()); + var token = jwtTokenService.GenerateToken(userInfo); return new AuthResultDto(token); }