From e1a8f2f7e4d850beedeb1469610b878c1427e976 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 15 十二月 2021 09:01:53 +0800
Subject: [PATCH] 更新

---
 HDL_ON/Common/HDLCommon.cs |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/Common/HDLCommon.cs b/HDL_ON/Common/HDLCommon.cs
index 6502c89..6a2a061 100644
--- a/HDL_ON/Common/HDLCommon.cs
+++ b/HDL_ON/Common/HDLCommon.cs
@@ -318,7 +318,8 @@
                             eSVideoInfo.Lc_DeviceId = json["deviceId"].ToString();
                             eSVideoInfo.Lc_Location = OnAppConfig.Instance.RequestHttpsHost.Contains("China") ? 0 : 1;
                             eSVideoInfo.Lc_PlayToken = json["token"].ToString();
-                            eSVideoInfo.Lc_Psk = json["cname"].ToString();
+                            //eSVideoInfo.Lc_Psk = json["cname"].ToString();
+                            eSVideoInfo.Lc_Psk = json["psk"].ToString();//2021-10-15 PSK瀛楁涓嶈兘鍙朿name
                         }
                         else if (interphoneTypeEnum == InterphoneType.EZVIZ.ToString())
                         {
@@ -428,7 +429,9 @@
                     HDLLinphone.Current.LogoutAllAccount();
 #if __IOS__
                     //5.娓呯┖Siri鍏变韩鏁版嵁淇℃伅
-                    new Other.SkipControl().SetData(false, "", "", "");
+                    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)
@@ -487,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

--
Gitblit v1.8.0