From b6655c930866fadf3275587f4c692aa658bd9b21 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 24 六月 2020 10:57:07 +0800
Subject: [PATCH] 2020-06-24 1. 修改网络请求方法,改为HttpWebRequest支持自定义超时时间,默认10S。 2.后台回前台,超过20S断开远程重新连接。

---
 Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountRegistration.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountRegistration.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountRegistration.cs
index 2e4baa7..1e7b07b 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountRegistration.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountRegistration.cs
@@ -340,11 +340,12 @@
             //2020-01-06 浠hˉ鍏�
             if (stateCodeStr == "AccountExists") {
                 mes = "This account has been registered.";
+            } else if (stateCodeStr == "AccountYesRegisterNoIsverify") {
+                mes = ErrorCode.AccountYesRegisterNoIsverify;
             } else if (stateCodeStr == ErrorCode.NetworkError) {
                 mes = ErrorCode.NetworkError;
             } else {
                 mes = ErrorCode.OperationFailed + ErrorCode.Reason + stateCodeStr;
-
             }
             if (!string.IsNullOrEmpty (mes)) {
                 Application.RunOnMainThread (() => {

--
Gitblit v1.8.0