From ac2ee45fadc64fe840bbba6264df3ca4622adb15 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期日, 12 一月 2020 16:06:13 +0800
Subject: [PATCH] 2020-01-12 1.优化修改。

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

diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountRegistration.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountRegistration.cs
index 759706c..2e4baa7 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountRegistration.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountRegistration.cs
@@ -265,7 +265,7 @@
                         var detectionAccountObj = new DetectionAccountObj () { Account = account };
                         var postJson = Newtonsoft.Json.JsonConvert.SerializeObject (detectionAccountObj);
                         
-                        var isExistingAccountObj = MainPage.RequestHttps (API.DetectionAccount, postJson, false);
+                        var isExistingAccountObj = MainPage.RequestHttps (API.DetectionAccount, postJson);
                         if (isExistingAccountObj.StateCode == "AccountExists") {
                             string sssd = "杩欎釜璐﹀彿宸茬粡娉ㄥ唽銆�";
                             if (Language.CurrentLanguage == "English")
@@ -277,7 +277,7 @@
                         } else {
                             var requestObj = new YdRegisterAccountObj () { Account = account, Password = passwordText, Contact = userName, Language = Language.CurrentLanguage, Company = MainPage.SoftSmsType };
                             var requestJson = Newtonsoft.Json.JsonConvert.SerializeObject (requestObj);
-                            var revertObj = MainPage.RequestHttps (API.YdRegisterAccount, requestJson, false);
+                            var revertObj = MainPage.RequestHttps (API.YdRegisterAccount, requestJson);
                             if (revertObj.StateCode.ToUpper() == "SUCCESS") {
                                 Application.RunOnMainThread (() => {
                                     new Alert ("", Language.StringByID (R.MyInternationalizationString.AuthenticationMail), Language.StringByID (R.MyInternationalizationString.Close)).Show ();

--
Gitblit v1.8.0