From dfcb2a1844fd55b57bae23e290b30ec6380e8508 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期五, 26 八月 2022 15:04:22 +0800
Subject: [PATCH] 更新全视通dll

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs
index 336f2e7..4998bcc 100644
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs
@@ -4,7 +4,7 @@
 using Shared.Common.ResponseEntity;
 using System.Collections.Generic;
 using System.Text;
-
+using Shared.IOS.HDLFVSDK;
 namespace Shared.Phone.UserCenter
 {
     /// <summary>
@@ -565,6 +565,10 @@
         /// <param name="noticeDb">鏄惁閫氱煡浜戠</param>
         public static void ReLoginAgain(string account = "", bool noticeDb = true)
         {
+#if iOS
+            //閫�鍑哄叏瑙嗛�氱櫥褰�
+            Shared.IOS.HDLFVSDK.Video.Logout();
+#endif
             if (Config.Instance.Home.IsVirtually == true)
             {
                 //濡傛灉鏄櫄鎷熶綇瀹�
@@ -815,7 +819,7 @@
                 if (hadNet == 1)
                 {
                     //璇诲彇闅愬尶閰嶇疆
-                    HdlBackupLogic.Current.LoadHideOption();
+                    //HdlBackupLogic.Current.LoadHideOption();
                     //璋冭瘯锛氬己鍒跺紑鍚悗鍙拌皟璇旳pp鍔熻兘
                     if (UserCenterResourse.HideOption.StartDebugApp == 1)
                     {
@@ -862,6 +866,11 @@
 
                     //鍚屾浜戠鐨勭綉鍏砳d锛屽鏋滄湰鍦版嫢鏈変簯绔笉瀛樺湪鐨刬d锛屽垯琛ㄧず搴旇琚崲缁戜簡锛岀洿鎺ュ垹闄�
                     HdlGatewayLogic.Current.SynchronizeDbGateway();
+
+                    //璇诲彇App鏈�浣庣増鏈�
+                    HdlFirmwareUpdateLogic.ReadAppLestVersion();
+                    //璇诲彇缃戝叧鏈�浣庣増鏈�
+                    HdlFirmwareUpdateLogic.ReadGatewayLestVersion();
                 }
 
                 //鏂紑杩滅▼Mqtt杩炴帴,閲嶆柊杩炴帴
@@ -893,7 +902,6 @@
                 {
                     //浣忓畢鍒囨崲鏃�,妫�娴嬬綉鍏宠繛鎺ユ儏鍐�
                     CheckGatewayConnection();
-
                 }
                 UserCenterResourse.DicReceiveGatewayTest = null;
             }

--
Gitblit v1.8.0