From 1209d93632b447823caf371dea5ccf030ab20434 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 13 十一月 2020 17:11:55 +0800 Subject: [PATCH] 2020-11-13 1.更新 --- HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs b/HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs index a923fff..7f1cb99 100644 --- a/HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs +++ b/HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs @@ -305,7 +305,7 @@ { //1.鍏堟鏌ヨ处鍙锋槸鍚︽敞鍐岃繃 var result = pm.GetRegionByAccount(account); - if (result.Code != HttpUtil.SUCCESS_CODE) + if (result.Code != StateCode.SUCCESS) { IMessageCommon.Current.ShowErrorInfoAlter(NewAPI.API_POST_GetRegionByAccount, result.Code); return; @@ -344,14 +344,14 @@ //2.1璇锋眰鑾峰彇楠岃瘉鐮� if (registerType == 1)//閭 { - resultObj = pm.VerificationCodeSend(VerifyType.FORGOTPASSWORD, account); + resultObj = pm.VerificationCodeSend(VerifyType.FIND_PASSWORD, account); } else { - resultObj = pm.VerificationCodeSend(VerifyType.FORGOTPASSWORD, account, true, phoneZoneCode); + resultObj = pm.VerificationCodeSend(VerifyType.FIND_PASSWORD, account, true, phoneZoneCode); } - if (resultObj.Code != HttpUtil.SUCCESS_CODE) + if (resultObj.Code != StateCode.SUCCESS) { // 鎻愮ず閿欒 IMessageCommon.Current.ShowErrorInfoAlter(NewAPI.API_POST_Verification_Send, resultObj.Code); @@ -404,7 +404,7 @@ // 蹇樿瀵嗙爜 var isPhone = registerType == 0; var resultObj = pm.ForgetPassword(account, password, verCode, isPhone); - if (resultObj.Code == HttpUtil.SUCCESS_CODE) + if (resultObj.Code == StateCode.SUCCESS) { Application.RunOnMainThread(() => { -- Gitblit v1.8.0