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 /// 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); }