From 017af840d60fd6a56da9711308bf8239cb7fc1e6 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 13 十一月 2020 11:01:01 +0800
Subject: [PATCH] 2020-11-13 1.部分接口替换备份

---
 HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs |    7 ++++---
 1 files changed, 4 insertions(+), 3 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..889b9c0 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,9 +43,9 @@
                     {
                         try
                         {
-                            var responsePack = new DAL.Server.HttpServerRequest().EditResidenceInfo();
+                            var responsePack = new HttpServerRequest().EditResidenceInfo();
 
-                            if (responsePack.StateCode.ToUpper() == "SUCCESS")
+                            if (responsePack.StateCode.ToUpper() == HttpUtil.SUCCESS_CODE)
                             {
                                 Application.RunOnMainThread(() =>
                                 {
@@ -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() == HttpUtil.SUCCESS_CODE)
                     {
                         btnResidenceAddress.Text = str;
                         OnAppConfig.Instance.SaveUserConfig();

--
Gitblit v1.8.0