From b28a36aff0802cc9b045b170bc46bc18bff61b36 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期一, 30 九月 2024 11:21:12 +0800
Subject: [PATCH] Update AndroidManifest.xml
---
HDL_ON/UI/UI1-Login/LoginPageBLL.cs | 31 ++-----------------------------
1 files changed, 2 insertions(+), 29 deletions(-)
diff --git a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
index 58a951b..46c3048 100644
--- a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
+++ b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
@@ -648,24 +648,6 @@
var getResidencesResult = LoadMethod_GetResidences();
if (getResidencesResult)
{
- /*
- * Wait : 鎺ㄩ�佹敞鍐�
- */
-
- /*
- * 鏌ョ湅鏈湴鏄惁瀛樺湪鏁版嵁
- * 瀛樺湪鍒欏鍑�
- */
- //var isExis = FileUtils.IsExisFolder(DB_ResidenceData.residenceData.CurReginID);
- //if (isExis)
- //{
- // FileUtils.DeleteAllFile();
- // string regionRootPath = FileUtils.CreateRegionBackup(DB_ResidenceData.residenceData.CurReginID);
- // FileUtils.RestoreRegionFiles(regionRootPath);
- // DB_ResidenceData.residenceData.EixtAccount();
- // OnAppConfig.Instance.RefreshUserConfig();
- // SpatialInfo.CurrentSpatial.InitRoomFunction();
- //}
Application.RunOnMainThread(() =>
{
//20201223-鐧诲綍鎴愬姛涔嬪悗锛屽皢涓嬭浇鏁版嵁瀹屾垚鏍囪鏍囪涓篺alse锛岄槻姝富椤垫彁鍓嶅姞杞�
@@ -677,18 +659,9 @@
}
else
{
- //Application.RunOnMainThread(() =>
- //{
- // BindingResidencePage page = new BindingResidencePage();
- // MainPage.BaseView.AddChidren(page);
- // page.LoadView();
- //});
-
-
-
//2020-11-13 寰呯‘璁�
//鑾峰彇浣忓畢澶辫触锛岄噸鏂版爣璁颁负鏈櫥褰曠姸鎬�
- UserInfo.Current.LastTime = DateTime.MinValue;
+ UserInfo.Current.ValidToken = false;
UserInfo.Current.SaveUserInfo();
//鐧诲綍澶辫触锛岃鍏堟坊鍔犱綇瀹咃紒
//Utlis.ShowAlertOnMainThread(Language.StringByID(StringId.FailedGetHomeList));
@@ -748,7 +721,7 @@
UserInfo.Current.ClearUserInfo();
UserInfo.Current.userType = revertData.userType;
UserInfo.Current.AccountString = account;
- UserInfo.Current.LastTime = DateTime.Now;
+ UserInfo.Current.ValidToken = true;
UserInfo.Current.ID = revertData.userId;
UserInfo.Current.LoginTokenString = revertData.headerPrefix + revertData.accessToken;
UserInfo.Current.AccessToken = revertData.accessToken;
--
Gitblit v1.8.0