From 4f40e8385ff6725be8e8b642e50f9f7201a27dfa Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期五, 11 十二月 2020 15:58:32 +0800
Subject: [PATCH] Merge branch 'NewFilePath' of http://172.16.1.23:6688/r/~wxr/HDL_APP_Project into NewFilePath

---
 HDL_ON/UI/UI1-Login/LoginPageBLL.cs |   39 +++++++++++++++++++--------------------
 1 files changed, 19 insertions(+), 20 deletions(-)

diff --git a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
index 4a8bae7..0be9bde 100644
--- a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
+++ b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
@@ -599,7 +599,6 @@
                             {
                                 //璺宠浆椤甸潰----
                                 MainPage.GoUserPage();
-                                MainPage.InitializationData();
                                 return;
                             }
                         });
@@ -615,24 +614,23 @@
                              */
 
                             /*
-                             鏌ョ湅鏈湴鏄惁瀛樺湪鏁版嵁
-                             瀛樺湪鍒欏鍑�
+                             * 鏌ョ湅鏈湴鏄惁瀛樺湪鏁版嵁
+                             * 瀛樺湪鍒欏鍑�
                              */
-                            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();
-                            }
+                            //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(() =>
                             {
                                 //璺宠浆椤甸潰----
                                 MainPage.GoUserPage();
-                                MainPage.InitializationData();
                             });
                         }
                         else
@@ -759,12 +757,13 @@
             var responsePack = pm.GetHomePager();
             if (responsePack == StateCode.SUCCESS)
             {
-                //2020-11-13 寰呯‘璁わ紝娌℃湁浣忓畢锛屼笉绠楃櫥褰曟垚鍔�
-                if (UserInfo.Current.regionList != null && UserInfo.Current.regionList.Count > 0)
-                {
-                    result = true;
-                }
-                //result = true;
+                ////2020-11-13 寰呯‘璁わ紝娌℃湁浣忓畢锛屼笉绠楃櫥褰曟垚鍔�
+                //if (UserInfo.Current.regionList != null && UserInfo.Current.regionList.Count > 0)
+                //{
+                //    result = true;
+                //}
+                //2020-12-10 娌℃湁浣忓畢鐧诲綍鎴愬姛锛屼絾鏄笉鑳借繘鍏ヤ富鐣岄潰
+                result = true;
             }
             else
             {

--
Gitblit v1.8.0