| | |
| | | { |
| | | 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) |
| | |
| | | { |
| | | 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), ""); |
| | |
| | | { |
| | | 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), ""); |
| | |
| | | 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(); |