From 7d9e5d946d08f0b53ff25d1c25dcf83efb68b734 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 15 十二月 2020 09:08:59 +0800
Subject: [PATCH] 20201215-1

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

diff --git a/HDL_ON/Common/HDLCommon.cs b/HDL_ON/Common/HDLCommon.cs
index 9d9b2c8..2e5cb7a 100644
--- a/HDL_ON/Common/HDLCommon.cs
+++ b/HDL_ON/Common/HDLCommon.cs
@@ -281,7 +281,9 @@
         {
             //鏈櫥褰曚笉鐢ㄥ鐞�
             if (!UserInfo.Current.IsLogin) return;
-
+#if DEBUG
+            return;
+#endif
             Logout();
         }
 
@@ -302,10 +304,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