HDL_ON/DAL/Server/HttpServerRequest.cs
@@ -492,11 +492,20 @@ Address = mHome.homeAddress, isAllowCreateScene = mHome.isAllowCreateScene, }; #if DEBUG UserInfo.Current.regionList.Add(home); continue; #endif if (home.isBindGateway) { UserInfo.Current.regionList.Add(home); } } if(UserInfo.Current.regionList.Count== 0) { return "null"; } //-------如果账号是首次登录 if (DB_ResidenceData.Instance.CurrentRegion == null || string.IsNullOrEmpty(DB_ResidenceData.Instance.CurrentRegion.RegionID)) {