From 9c8baf7e7e1169ebdf7d5f7ed33ab29dd5fcbf18 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期一, 14 十二月 2020 17:45:17 +0800
Subject: [PATCH] 2020-12-14 1.解锁设置问题修复,增加面容ID验证。2.错误码对接增加。

---
 HDL_ON/Common/HDLCommon.cs |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/Common/HDLCommon.cs b/HDL_ON/Common/HDLCommon.cs
index 9d9b2c8..1a52ef4 100644
--- a/HDL_ON/Common/HDLCommon.cs
+++ b/HDL_ON/Common/HDLCommon.cs
@@ -282,6 +282,10 @@
             //鏈櫥褰曚笉鐢ㄥ鐞�
             if (!UserInfo.Current.IsLogin) return;
 
+#if DEBUG
+            return;
+#endif
+
             Logout();
         }
 
@@ -302,10 +306,9 @@
                     //2.娉ㄩ攢鎺ㄩ��
                     new HttpServerRequest().SignOutPush();
                     //3.璺宠浆鐧诲綍椤甸潰
-                    //UserInfo.Current.LastTime = DateTime.MinValue;
-                    //UserInfo.Current.headImagePagePath = "LoginIcon/2.png";//閲嶇疆鐢ㄦ埛澶村儚
-                    UserInfo.Current.ClearUserInfo();
-                    DB_ResidenceData.residenceData.EixtAccount();
+                    UserInfo.Current.LastTime = DateTime.MinValue;
+                    UserInfo.Current.SaveUserInfo();
+                    DB_ResidenceData.Instance.EixtAccount();
                 }
                 catch (Exception ex)
                 {

--
Gitblit v1.8.0