From e71c57108e6dd407c2c6f0361f68150f2ff9aed5 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 15 十二月 2021 13:41:16 +0800
Subject: [PATCH] 版本备份

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

diff --git a/HDL_ON/Common/HDLCommon.cs b/HDL_ON/Common/HDLCommon.cs
index 3e58c17..6a2a061 100644
--- a/HDL_ON/Common/HDLCommon.cs
+++ b/HDL_ON/Common/HDLCommon.cs
@@ -427,6 +427,12 @@
                     DB_ResidenceData.Instance.EixtAccount();
                     //4.娉ㄩ攢HDLSIP璐﹀彿鐧诲綍 2021-08-20
                     HDLLinphone.Current.LogoutAllAccount();
+#if __IOS__
+                    //5.娓呯┖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}");
+#endif
                 }
                 catch (Exception ex)
                 {
@@ -484,6 +490,11 @@
                         }
                         MainPage.CurPageIndex = 9999;
                         MainPage.UserBasePage.ChooseCollection();
+#if __IOS__
+                        var sdm = new SiriKit.SceneDateManager();
+                        sdm.RegionUrl = DB_ResidenceData.Instance.CurrentRegion.regionUrl;
+                        sdm.HomeId = DB_ResidenceData.Instance.CurrentRegion.id;
+#endif
                     }
                 }
                 //Dialog
@@ -523,9 +534,9 @@
 
         }
 
-        #endregion
+#endregion
 
-        #region 鈻� 甯哥敤鏂规硶_______________________
+#region 鈻� 甯哥敤鏂规硶_______________________
         /// <summary>
         /// 璁剧疆涓嬪垝绾挎寜閽姸鎬�
         /// 缁熶竴灏佽璁剧疆鏂规硶
@@ -598,9 +609,9 @@
                 Control.Ins.SearchLoaclGateway();
             }
         }
-        #endregion
+#endregion
 
-        #region 璺宠浆鎵撳紑钀ょ煶浜戞柟娉�
+#region 璺宠浆鎵撳紑钀ょ煶浜戞柟娉�
 
         /// <summary>
         /// 鑾峰彇瀛愯处鍙穞oken骞惰烦杞澶囧垪琛ㄩ〉闈�
@@ -702,6 +713,6 @@
             { IsBackground = true }.Start();
         }
 
-        #endregion
+#endregion
     }
 }

--
Gitblit v1.8.0