From af46eb2d65a08e02a1e103de895cbc0c7f3c5015 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Tue, 20 Aug 2024 10:35:37 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Management/UserService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IRaCIS.Core.Application/Service/Management/UserService.cs b/IRaCIS.Core.Application/Service/Management/UserService.cs index 3fe37375c..f10149ce6 100644 --- a/IRaCIS.Core.Application/Service/Management/UserService.cs +++ b/IRaCIS.Core.Application/Service/Management/UserService.cs @@ -816,6 +816,8 @@ namespace IRaCIS.Application.Services if (loginUser.LastLoginIP != iPRegion) { loginUser.LoginState = 2; + Console.WriteLine("loginUser.LastLoginIP:" + loginUser.LastLoginIP); + Console.WriteLine("iPRegion:" + iPRegion); } From 05f9b81e0498d4350d767f8a043432c3b59b98e0 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Tue, 20 Aug 2024 10:37:58 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs b/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs index 3f22371f2..7c2b014d7 100644 --- a/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs +++ b/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs @@ -41,6 +41,7 @@ namespace IRaCIS.Application.Contracts public string RealName { get; set; } = string.Empty; public int? Sex { get; set; } // 1-男 2-女 + /// /// LastLoginIP ///