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 | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs index 8f6eb16..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(() => { @@ -105,7 +106,6 @@ /// </summary> void LoadEvent_EditResidencAddress() { -#if stage2 EventHandler<MouseEventArgs> eventHandler = (sender, e) => { Action<string> callBack = (str) => @@ -113,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(); @@ -143,11 +143,10 @@ }); } }; - new PublicAssmebly().LoadDialog_EditParater(StringId.ResidenceAddress, DB_ResidenceData.residenceData.residecenInfo.Name, callBack,StringId.HouseAddressCannotBeEmpty,0,new List<string>()); + new PublicAssmebly().LoadDialog_EditParater(StringId.ResidenceAddress, DB_ResidenceData.residenceData.residecenInfo.Name, callBack, StringId.HouseAddressCannotBeEmpty, 0, new List<string>()); }; btnResidenceAddress.MouseUpEventHandler = eventHandler; btnLocationAddressIcon.MouseUpEventHandler = eventHandler; -#endif } /// <summary> -- Gitblit v1.8.0