From 017af840d60fd6a56da9711308bf8239cb7fc1e6 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 13 十一月 2020 11:01:01 +0800
Subject: [PATCH] 2020-11-13 1.部分接口替换备份

---
 HDL_ON/UI/UI2/4-PersonalCenter/AccountBindInfo/VerificationCodePage.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AccountBindInfo/VerificationCodePage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AccountBindInfo/VerificationCodePage.cs
index 858578d..44aaebd 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AccountBindInfo/VerificationCodePage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AccountBindInfo/VerificationCodePage.cs
@@ -2,6 +2,7 @@
 using Shared;
 using HDL_ON.UI.CSS;
 using System.Threading;
+using HDL_ON.DAL.Server;
 
 namespace HDL_ON.UI
 {
@@ -490,8 +491,8 @@
                                 act = new PublicAssmebly().TipLoadingMsgDialog(Language.StringByID(StringId.SavingPleaseWait));
                             });
                             var verAccount = optionType == 1 ? MainPage.LoginUser.userEmailInfo : MainPage.LoginUser.userMobileInfo;
-                            var response = new DAL.Server.HttpServerRequest().ValidatorCode(verAccount, etCode, MainPage.LoginUser.areaCode);
-                            if (response.StateCode.ToUpper() == "SUCCESS")
+                            var response = new HttpServerRequest().ValidatorCode(verAccount, etCode, MainPage.LoginUser.areaCode);
+                            if (response.StateCode.ToUpper() == HttpUtil.SUCCESS_CODE)
                             {
                                 result = true;
                             }
@@ -549,7 +550,7 @@
                                         new Thread(() =>
                                         {
                                             var result2 = new DAL.Server.HttpServerRequest().BindAccount(account);
-                                            if (result2 == "SUCCESS")
+                                            if (result2 == HttpUtil.SUCCESS_CODE)
                                             {
                                                 Application.RunOnMainThread(() =>
                                                 {
@@ -586,7 +587,7 @@
                                         new Thread(() =>
                                         {
                                             var result2 = new DAL.Server.HttpServerRequest().BindAccount(account);
-                                            if (result2 == "SUCCESS")
+                                            if (result2 == HttpUtil.SUCCESS_CODE)
                                             {
                                                 Application.RunOnMainThread(() =>
                                                 {

--
Gitblit v1.8.0