记录最新登录时间
continuous-integration/drone/push Build is passing Details

IRC_NewDev
hang 2024-06-19 13:48:59 +08:00
parent a9831657cc
commit f4bd891deb
1 changed files with 2 additions and 1 deletions

View File

@ -812,7 +812,8 @@ namespace IRaCIS.Application.Services
await _userRepository.BatchUpdateNoTrackingAsync(x => x.Id == loginUser.Id, x => new User()
{
LastLoginIP = _userInfo.IP
LastLoginIP = _userInfo.IP,
LastLoginTime= DateTime.Now
});