From f23ad1b3f9f6193f35f72104d690b21dc67d5c1f Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 06 七月 2020 12:35:25 +0800 Subject: [PATCH] 去掉了访问外网的异步 --- ZigbeeApp/Shared/Phone/UserCenter/Password/CheckNewPhoneForm.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Password/CheckNewPhoneForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Password/CheckNewPhoneForm.cs index f1ae8d1..fa5caea 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Password/CheckNewPhoneForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Password/CheckNewPhoneForm.cs @@ -171,13 +171,13 @@ /// <summary> /// 鍙戦�侀獙璇佺爜鍒版墜鏈� /// </summary> - private async void SendCodeToPhone(BottomClickButton btnNext,string areaCode, string phoneNum) + private void SendCodeToPhone(BottomClickButton btnNext,string areaCode, string phoneNum) { var sendCodePra = new SendCodePra(); sendCodePra.Account = phoneNum; sendCodePra.AreaCode = Convert.ToInt32(areaCode); - bool flage = await UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/RegisterSendVerCode", false, sendCodePra); + bool flage = UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/RegisterSendVerCode", false, sendCodePra); if (flage == false) { return; @@ -234,7 +234,7 @@ /// 楠岃瘉楠岃瘉鐮� /// </summary> /// <returns></returns> - private async void CheckVerificationCode(string code) + private void CheckVerificationCode(string code) { if (this.canCheckCode == false) { @@ -247,7 +247,7 @@ checkCodePra.Code = code; checkCodePra.Account = newPhone; - bool flage = await UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/ValidatorCode", false, checkCodePra); + bool flage = UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/ValidatorCode", false, checkCodePra); if (flage == false) { //楠岃瘉鐮侀敊璇紝璇烽噸鏂拌緭鍏� @@ -263,12 +263,12 @@ /// <summary> /// 鍙樻洿鎵嬫満鍙� /// </summary> - private async void SaveNewPhoneNumber() + private void SaveNewPhoneNumber() { var pra = new SaveNewPhoneNumPra(); pra.Account = newPhone; - bool flage = await UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/BindAccount", false, pra); + bool flage = UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/BindAccount", false, pra); if (flage == false) { //缁戝畾鎵嬫満澶辫触 -- Gitblit v1.8.0