修改用户密码增加记录
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
hang 2025-01-21 09:16:44 +08:00
parent 91b358e674
commit f79c12165e
1 changed files with 10 additions and 0 deletions

View File

@ -259,6 +259,16 @@ namespace IRaCIS.Core.Application.Service
}, true);
await _userPassWordLogRepository.AddAsync(new UserPassWordLog()
{
CreateTime = DateTime.Now,
PassWord = newPWd,
IdentityUserId = _userInfo.IdentityUserId,
});
await _userLogRepository.AddAsync(new UserLog() { IP = _userInfo.IP, ActionIdentityUserId = _userInfo.IdentityUserId, ActionUserName = _userInfo.UserName, TargetIdentityUserId = _userInfo.IdentityUserId, OptType = UserOptType.UpdateUser }, true);
return ResponseOutput.Ok();