From 4f2dbd1f6a1ec2d9c3c39b4a37b0b7c9ddece4aa Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期四, 23 九月 2021 15:24:01 +0800
Subject: [PATCH] 主页刷新优化
---
HDL_ON/Common/ApiUtlis.cs | 19 ++++++++-----------
1 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/HDL_ON/Common/ApiUtlis.cs b/HDL_ON/Common/ApiUtlis.cs
index 65338b6..d03d275 100644
--- a/HDL_ON/Common/ApiUtlis.cs
+++ b/HDL_ON/Common/ApiUtlis.cs
@@ -56,7 +56,9 @@
return result;
}
-
+ /// <summary>
+ /// 涓嬭浇鏁版嵁瀹屾垚鏍囪
+ /// </summary>
public bool DownloadDataComplete = true;
/// <summary>
/// 涓嬭浇鏁版嵁
@@ -277,19 +279,11 @@
UI.UI2.PersonalCenter.PirDevice.PirSend.LcSubAccessToken = video.subAccountToken;
} else if (video.interphoneType == InterphoneType.HDL.ToString()) {
isInterphoneType_HDL = true;
- }
- else if(video.interphoneType == InterphoneType.HDL.ToString())
- {
DB_ResidenceData.Instance.SupportFacePass = true;
- DB_ResidenceData.Instance.SaveResidenceData();
+ DB_ResidenceData.Instance.SaveResidenceData();
}
}
}
-
-
- //======================瀹夐槻====================
- GetSecurityList();
- //======================SIP璐﹀彿====================
//======================鑾峰彇Sip璐﹀彿骞朵笖鍒濆鍖朣DK鍙瀵硅璁惧鍒楄〃====================
//濡傛灉妫�娴嬬嚎绋嬫病鍚姩锛屾墠缁х画涓嬮潰鎿嶄綔 鍥犱负App鏈夊彲鑳藉垰鍚姩椹笂鏀跺埌鎺ㄩ�佷簡锛岀劧鍚庢墠鎵ц鍒拌繖閲�
@@ -307,7 +301,10 @@
HDLLinphone.Current.LogoutAllAccount();
}
}
-
+
+ //======================瀹夐槻====================
+ GetSecurityList();
+
}
catch (Exception ex)
{
--
Gitblit v1.8.0