From be95e839f40eb3ddf64706b60cba6dfcf4fad5e5 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 03 四月 2020 14:31:44 +0800
Subject: [PATCH] 2020-04-03 1.去掉登录前ping百度域名的网络监测。

---
 Crabtree/SmartHome/UI/SimpleControl/Phone/Register/ForgotPassword.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/ForgotPassword.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/ForgotPassword.cs
index d6f3709..76a63f9 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/ForgotPassword.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/ForgotPassword.cs
@@ -69,7 +69,7 @@
                 if (bodyPageView.ChildrenCount - 2 == e) {
                     bodyPageView.RemoveAt (bodyPageView.ChildrenCount - 1);
                 }
-                Console.WriteLine ("D" + e.ToString ());
+                Utlis.WriteLine ("D" + e.ToString ());
             };
 
             FrameLayout bodyView = new FrameLayout ();
@@ -145,8 +145,8 @@
                 X = Application.GetRealWidth (70),
                 Y = Application.GetRealHeight (100),
                 UnSelectedImagePath = "Register/Register_Email_Address.png",
-                PlaceholderText = Language.StringByID (R.MyInternationalizationString.EmailAddress),
                 PlaceholderTextColor = SkinStyle.Current.PlaceholderTextColor,
+                PlaceholderText = Language.StringByID (R.MyInternationalizationString.EmailAddress),
                 TextAlignment = TextAlignment.Center,
                 Radius = (uint)Application.GetRealHeight (0),
                 TextColor = SkinStyle.Current.TextColor1,
@@ -204,7 +204,7 @@
                         } else {
                             var requestObj = new YdForgetPasswordObj () { Account = emailAccount, Company = MainPage.SoftSmsType };
                             var requestJson = Newtonsoft.Json.JsonConvert.SerializeObject (requestObj);
-                            var requestRevertObj = MainPage.RequestHttps (API.YdForgetPassword, requestJson, false);
+                            var requestRevertObj = MainPage.RequestHttps (API.YdForgetPassword, requestJson);
                             if (requestRevertObj.StateCode.ToUpper() == "SUCCESS") {
                                 Application.RunOnMainThread (() => {
                                     this.Close ();
@@ -413,7 +413,7 @@
                     try {
                         var requestObj = new ValidateSmsCodeObj () { Phone = mobileNumber, Code = vCode };
                         var requestJson = Newtonsoft.Json.JsonConvert.SerializeObject (requestObj);
-                        var requestRevertObj = MainPage.RequestHttps ("ValidateSmsCode", requestJson, false);
+                        var requestRevertObj = MainPage.RequestHttps ("ValidateSmsCode", requestJson);
                         if (requestRevertObj.StateCode.ToUpper() == "SUCCESS") {
                             Application.RunOnMainThread (() => {
                                 InitMobilePasswrod (mobileNumber);
@@ -516,7 +516,7 @@
                     try {
                         var requestObj = new ForgetPasswordActionObj () { Account = mobileNumber, Password = newpw };
                         var requestJson = Newtonsoft.Json.JsonConvert.SerializeObject (requestObj);
-                        var revertObj = MainPage.RequestHttps ("ForgetPasswordAction", requestJson, false);
+                        var revertObj = MainPage.RequestHttps ("ForgetPasswordAction", requestJson);
                         if (revertObj.StateCode.ToUpper() == "SUCCESS") {
                             Application.RunOnMainThread (() => {
                                 new Alert ("", Language.StringByID (R.MyInternationalizationString.ThePerationWasSuccessful),

--
Gitblit v1.8.0