From ec074f7a42c10995732739c842e60ed84aedce20 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 20 十一月 2020 18:02:59 +0800
Subject: [PATCH] 2020-11-20 1.更新

---
 HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs
index f55abfb..c02a5f3 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs
@@ -1,5 +1,6 @@
 锘縰sing System;
 using System.Collections.Generic;
+using HDL_ON.DAL.Server;
 using HDL_ON.Entity;
 using Shared;
 
@@ -42,13 +43,13 @@
                     {
                         try
                         {
-                            var responsePack = new DAL.Server.HttpServerRequest().EditResidenceInfo();
+                            var responsePack = new HttpServerRequest().EditResidenceInfo();
 
-                            if (responsePack.StateCode.ToUpper() == "SUCCESS")
+                            if (responsePack.StateCode.ToUpper() == StateCode.SUCCESS)
                             {
                                 Application.RunOnMainThread(() =>
                                 {
-                                    //MainPage.LoginUser.regionList.Find((obj) => obj.Name == btnResidenceName.Text.Trim()).Name = str;
+                                    // UserInfo.Current.regionList.Find((obj) => obj.Name == btnResidenceName.Text.Trim()).Name = str;
                                     btnResidenceName.Text = str;
                                     upateResidenceName();
                                 });
@@ -112,7 +113,7 @@
                     DB_ResidenceData.residenceData.residecenInfo.Address = str;
                     var responsePack = new DAL.Server.HttpServerRequest().EditResidenceInfo();
 
-                    if (responsePack.StateCode.ToUpper() == "SUCCESS")
+                    if (responsePack.StateCode.ToUpper() == StateCode.SUCCESS)
                     {
                         btnResidenceAddress.Text = str;
                         OnAppConfig.Instance.SaveUserConfig();

--
Gitblit v1.8.0