From 437c7a6d88d11e500fc19a3dd198aec28412f06b Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 20 十一月 2020 17:48:23 +0800 Subject: [PATCH] 2020-11-20 1.修改UserInfo调用方法。2.增加保存用户注册域名信息。 --- HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs | 6 +++--- 1 files changed, 3 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 889b9c0..c02a5f3 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs @@ -45,11 +45,11 @@ { var responsePack = new HttpServerRequest().EditResidenceInfo(); - if (responsePack.StateCode.ToUpper() == HttpUtil.SUCCESS_CODE) + 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(); }); @@ -113,7 +113,7 @@ DB_ResidenceData.residenceData.residecenInfo.Address = str; var responsePack = new DAL.Server.HttpServerRequest().EditResidenceInfo(); - if (responsePack.StateCode.ToUpper() == HttpUtil.SUCCESS_CODE) + if (responsePack.StateCode.ToUpper() == StateCode.SUCCESS) { btnResidenceAddress.Text = str; OnAppConfig.Instance.SaveUserConfig(); -- Gitblit v1.8.0