From 62d77d3bb8e7215d9da9ecf6f5aeda0b69f805f8 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期二, 08 十二月 2020 18:57:15 +0800 Subject: [PATCH] 20201208 --- HDL_ON/UI/UI1-Login/LoginPageBLL.cs | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs index 70c7f7b..e7cb064 100644 --- a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs +++ b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs @@ -558,6 +558,7 @@ { //璺宠浆椤甸潰---- MainPage.GoUserPage(); + MainPage.InitializationData(); return; } }); @@ -584,20 +585,21 @@ FileUtils.RestoreRegionFiles(regionRootPath); DB_ResidenceData.residenceData.EixtAccount(); OnAppConfig.Instance.RefreshUserConfig(); - DB_ResidenceData.InitRoomFunction(); + SpatialInfo.CurrentSpatial.InitRoomFunction(); } Application.RunOnMainThread(() => { //璺宠浆椤甸潰---- MainPage.GoUserPage(); + MainPage.InitializationData(); }); } else { //2020-11-13 寰呯‘璁� //鑾峰彇浣忓畢澶辫触锛岄噸鏂版爣璁颁负鏈櫥褰曠姸鎬� - UserInfo.Current.LastTime = DateTime.MinValue; - UserInfo.Current.SaveUserInfo(); + UserInfo.Current.LastTime = DateTime.MinValue; + UserInfo.Current.SaveUserInfo(); //鐧诲綍澶辫触锛岃鍏堟坊鍔犱綇瀹咃紒 Utlis.ShowAlertOnMainThread(Language.StringByID(StringId.FailedGetHomeList)); } @@ -662,13 +664,17 @@ UserInfo.Current.LoginTokenString = revertData.headerPrefix + revertData.accessToken; UserInfo.Current.RefreshToken = revertData.refreshToken; UserInfo.Current.userName = revertData.name; + UserInfo.Current.userMobileInfo = "";//閲嶇疆鐢ㄦ埛鎵嬫満 + UserInfo.Current.userEmailInfo = "";//閲嶇疆鐢ㄦ埛閭 + UserInfo.Current.headImagePagePath = "LoginIcon/2.png";//閲嶇疆鐢ㄦ埛澶村儚 UserInfo.Current.SaveUserInfo(); MainPage.Log("鐧诲綍鎴愬姛銆�"); result = true; //鑾峰彇鐢ㄦ埛淇℃伅 new Thread(() => { - pm.GetUserInfo(); + pm.GetUserHeadImage(revertData.userId); + pm.GetUserInfo(false); }) { IsBackground = true }.Start(); } -- Gitblit v1.8.0