From e848ee197229c57c4228bc5990b1e7b4c19f99c0 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 2 Jul 2026 14:42:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Management/UserService.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Management/UserService.cs b/IRaCIS.Core.Application/Service/Management/UserService.cs index 39cbef3c4..d9e7f7244 100644 --- a/IRaCIS.Core.Application/Service/Management/UserService.cs +++ b/IRaCIS.Core.Application/Service/Management/UserService.cs @@ -263,6 +263,8 @@ namespace IRaCIS.Core.Application.Service IsFirstAdd = false, + IsNeedResetPwd = false, + EmailToken = String.Empty }, true); @@ -449,9 +451,9 @@ namespace IRaCIS.Core.Application.Service catch (Exception) { - + } - + var find = await _identityUserRepository.FindAsync(identityUserId); @@ -1279,7 +1281,7 @@ namespace IRaCIS.Core.Application.Service PermissionStr = t.UserTypeRole.PermissionStr, UserName = t.IdentityUser.UserName, UserTypeShortName = t.UserTypeRole.UserTypeShortName, - UserWorkLanguage=t.IdentityUser.UserWorkLanguage + UserWorkLanguage = t.IdentityUser.UserWorkLanguage }).FirstOrDefaultAsync(); await _userLogRepository.AddAsync(new UserLog() { IP = _userInfo.IP, ActionIdentityUserId = userTokenInfo.IdentityUserId, ActionUserName = $"{userTokenInfo.UserName}", ActionUserType = userTokenInfo.UserTypeShortName, OptType = UserOptType.LoginSelectRole }, true);