From f4bd891deb2101aac453ccfdf03ef1b3f4e0b05a Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 19 Jun 2024 13:48:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E5=BD=95=E6=9C=80=E6=96=B0=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Management/UserService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Management/UserService.cs b/IRaCIS.Core.Application/Service/Management/UserService.cs index 5857072d6..81882bdd7 100644 --- a/IRaCIS.Core.Application/Service/Management/UserService.cs +++ b/IRaCIS.Core.Application/Service/Management/UserService.cs @@ -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 });