JLChen
2020-11-20 ec074f7a42c10995732739c842e60ed84aedce20
HDL_ON/UI/UI2/4-PersonalCenter/AccountBindInfo/ChangeBindVerificationCodePage.cs
@@ -512,7 +512,7 @@
                            {
                                act = new PublicAssmebly().TipLoadingMsgDialog(Language.StringByID(StringId.SavingPleaseWait));
                            });
                            var verAccount = optionType == 1 ? MainPage.LoginUser.userEmailInfo : MainPage.LoginUser.userMobileInfo;
                            var verAccount = optionType == 1 ?  UserInfo.Current.userEmailInfo :  UserInfo.Current.userMobileInfo;
                            var isPhone = optionType == 2;
                            var resultObj = new HttpServerRequest().ValidatorCode(VerifyType.SENSITIVE_DATA, verAccount, etCode, isPhone);
                            if (resultObj.Code == StateCode.SUCCESS)
@@ -522,7 +522,7 @@
                            else
                            {
                                //失败提示
                                IMessageCommon.Current.ShowErrorInfoAlter(NewAPI.API_POST_Verification_Check, resultObj.Code);
                                IMessageCommon.Current.ShowErrorInfoAlter(resultObj.Code);
                            }
                            Application.RunOnMainThread(() =>
                            {
@@ -567,7 +567,7 @@
                                            {
                                                Application.RunOnMainThread(() =>
                                                {
                                                    MainPage.LoginUser.userEmailInfo = account;
                                                     UserInfo.Current.userEmailInfo = account;
                                                    var page = new OperationResultDisPalyPage();
                                                    page.Show();
                                                    page.LoadPage(true, Language.StringByID(StringId.UnbindEmail), Language.StringByID(StringId.UnbindEmailSuccess), "");
@@ -582,7 +582,7 @@
                                            else
                                            {
                                                //失败提示
                                                IMessageCommon.Current.ShowErrorInfoAlter(NewAPI.API_POST_Member_UnbindWithAccount, result2);
                                                IMessageCommon.Current.ShowErrorInfoAlter(result2);
                                            }
                                        })
                                        { IsBackground = true }.Start();
@@ -597,7 +597,7 @@
                                            {
                                                Application.RunOnMainThread(() =>
                                                {
                                                    MainPage.LoginUser.userMobileInfo = account;
                                                     UserInfo.Current.userMobileInfo = account;
                                                    var page = new OperationResultDisPalyPage();
                                                    page.Show();
                                                    page.LoadPage(true, Language.StringByID(StringId.UnbindPhone), Language.StringByID(StringId.UnbindPhoneSuccess), "");
@@ -612,7 +612,7 @@
                                            else
                                            {
                                                //失败提示
                                                IMessageCommon.Current.ShowErrorInfoAlter(NewAPI.API_POST_Member_UnbindWithAccount, result2);
                                                IMessageCommon.Current.ShowErrorInfoAlter(result2);
                                            }
                                        })
                                        { IsBackground = true }.Start();
@@ -643,11 +643,11 @@
                    ResponsePackNew resultObj;
                    if (optionType == 1)//邮箱
                    {
                        resultObj = new HttpServerRequest().VerificationCodeSend(VerifyType.SENSITIVE_DATA, MainPage.LoginUser.userEmailInfo);
                        resultObj = new HttpServerRequest().VerificationCodeSend(VerifyType.SENSITIVE_DATA,  UserInfo.Current.userEmailInfo);
                    }
                    else
                    {
                        resultObj = new HttpServerRequest().VerificationCodeSend(VerifyType.SENSITIVE_DATA, MainPage.LoginUser.userMobileInfo, true, MainPage.LoginUser.areaCode);
                        resultObj = new HttpServerRequest().VerificationCodeSend(VerifyType.SENSITIVE_DATA,  UserInfo.Current.userMobileInfo, true,  UserInfo.Current.areaCode);
                    }
                })
                { IsBackground = true }.Start();
@@ -716,7 +716,7 @@
                        bodyView.RemoveFromParent();
                    }
                };
                HDLCommon.Current.ShowConfirmDialog(StringId.Tip, StringId.VerificationCodeMayBeDelayed, null, cancelAction, StringId.ReturnStr, StringId.WaitAMoment);
                new ConfirmDialog().ShowDialog(StringId.Tip, StringId.VerificationCodeMayBeDelayed, null, cancelAction, StringId.ReturnStr, StringId.WaitAMoment);
            }
            else
            {