修改账号禁用日志
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
hang 2025-01-02 16:28:24 +08:00
parent 13efa0f1d3
commit 055537ddbb
1 changed files with 1 additions and 1 deletions

View File

@ -605,7 +605,7 @@ namespace IRaCIS.Core.Application.Service
if (user.Status != model.Status)
{
await _userLogRepository.AddAsync(new UserLog() { IP = _userInfo.IP, ActionIdentityUserId = _userInfo.IdentityUserId, ActionUserName = _userInfo.UserName, OptType = model.Status == UserStateEnum.Enable ? UserOptType.AccountEnable : UserOptType.AccountLocked }, true);
await _userLogRepository.AddAsync(new UserLog() { IP = _userInfo.IP, ActionIdentityUserId = _userInfo.IdentityUserId, ActionUserName = _userInfo.UserName, TargetIdentityUserId = model.Id, OptType = model.Status == UserStateEnum.Enable ? UserOptType.AccountEnable : UserOptType.AccountLocked }, true);
}