From 3aba1c7fea5f0adb1b169e8060ce956188e80a2b Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 24 九月 2024 10:46:18 +0800
Subject: [PATCH] 删除解锁APP的模式

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

diff --git a/HDL_ON/Common/HDLCommon.cs b/HDL_ON/Common/HDLCommon.cs
index 6e58228..5944bdc 100644
--- a/HDL_ON/Common/HDLCommon.cs
+++ b/HDL_ON/Common/HDLCommon.cs
@@ -537,10 +537,7 @@
             switch (UserInfo.Current.AccountString)
             {
                 case "464027401@qq.com":
-                case "649362315@qq.com":
-                case "13580507523":
                 case "15626203746":
-                case "18316672920":
                     
                     return;
             }
@@ -589,8 +586,10 @@
                             //2.娉ㄩ攢鎺ㄩ��
                             new HttpServerRequest().SignOutPush();
                             //3.璺宠浆鐧诲綍椤甸潰
-                            UserInfo.Current.LastTime = DateTime.MinValue;
+                            UserInfo.Current.ValidToken = false;
                             UserInfo.Current.SaveUserInfo();
+                            OnAppConfig.Instance.LastLoginUserId = "";
+                            OnAppConfig.Instance.SaveConfig();
                             DB_ResidenceData.Instance.EixtAccount();
                             MainPage.Log("閫�鍑鸿处鍙锋竻绌烘暟鎹�");
                             //4.娉ㄩ攢HDLSIP璐﹀彿鐧诲綍 2021-08-20
@@ -644,7 +643,7 @@
         public void ShowAlarmPushMessage(JPushMessageInfo jpushMessageInfo, bool isAlarm)
         {
             //娌$櫥褰曚笉澶勭悊
-            if (UserInfo.Current == null || !UserInfo.Current.IsLogin || MainPage.BasePageView == null)
+            if (UserInfo.Current == null || MainPage.BasePageView == null)
             {
                 return;
             }

--
Gitblit v1.8.0