From f748908e5414736eb243ae7ec66a80dc9f5d9d49 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期四, 26 九月 2024 11:37:00 +0800 Subject: [PATCH] 水浸传感器,红外传感器,面板空调 --- HDL_ON/Common/HDLCommon.cs | 20 ++++++-------------- 1 files changed, 6 insertions(+), 14 deletions(-) diff --git a/HDL_ON/Common/HDLCommon.cs b/HDL_ON/Common/HDLCommon.cs index 6e58228..4a012a9 100644 --- a/HDL_ON/Common/HDLCommon.cs +++ b/HDL_ON/Common/HDLCommon.cs @@ -533,17 +533,7 @@ //Application.Activity.StartActivity() #endif - //娴嬭瘯璐﹀彿锛屼笉鎸や笅绾� - switch (UserInfo.Current.AccountString) - { - case "464027401@qq.com": - case "649362315@qq.com": - case "13580507523": - case "15626203746": - case "18316672920": - - return; - } + //鏈櫥褰曚笉鐢ㄥ鐞� //if (!UserInfo.Current.IsLogin) return; @@ -589,8 +579,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 @@ -603,7 +595,7 @@ //6.娓呯┖Siri鍏变韩鏁版嵁淇℃伅 new Other.SkipControl().SetData(false, "", "", "", ""); var sDM = new SiriKit.SceneDateManager(); - Console.WriteLine($"IsLogin:{sDM.IsLgoin};accessToken:{sDM.AccessToken};refreshToken:{sDM.RefreshToken};RegionUrl:{sDM.RegionUrl};HomeId:{sDM.HomeId}"); + //Console.WriteLine($"IsLogin:{sDM.IsLgoin};accessToken:{sDM.AccessToken};refreshToken:{sDM.RefreshToken};RegionUrl:{sDM.RegionUrl};HomeId:{sDM.HomeId}"); #endif } catch (Exception ex) @@ -644,7 +636,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