JLChen
2020-11-13 1209d93632b447823caf371dea5ccf030ab20434
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(() =>
                    {