JLChen
2020-06-03 0b616cd842c3066767cc6ea8f709c5fd6e0c2d99
SmartHome/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs
@@ -71,7 +71,8 @@
                Text = account,
            };
#if DEBUG
            etAccount.Text = "751083166@qq.com";
            etAccount.Text = "2791308028@qq.com";
            //etAccount.Text = "751083166@qq.com";
            //etAccount.Text = "18520468203";
            //etAccount.Text = "13585007789-debug";
            //etAccount.Text = "balina3ban72-debug@gmail.com";
@@ -111,7 +112,7 @@
                Text = password,
            };
#if DEBUG
            etPasswrod.Text = "85521566";
            etPasswrod.Text = "123456";
#endif
            passwrodView.AddChidren (etPasswrod);
@@ -278,13 +279,25 @@
                               string DeviceType = "android";
#if __IOS__
                               DeviceType = "iphone";
#endif
                               string jsonString = "{" +
                                                      "\"RegID\":" + "\"" + UserConfig.Instance.tokenID + "\"" + "," +
                                                      "\"Alias\":" + "\"" + UserConfig.Instance.phoneName + "\"" + "," +
                                                      "\"Account\":" + "\"" + account + "\"" +
                                                      "}";
                               MainPage.RequestHttps (@"AddRegID", jsonString, true);
                               var mAddRegIDObj = new AddRegIDObj () {
                                   RegID = UserConfig.Instance.tokenID,
                                   Alias = UserConfig.Instance.phoneName,
                                   Account = account,
                                   UserMode = 2,
                               };
                               var mAddRegIDObjJson = Newtonsoft.Json.JsonConvert.SerializeObject (mAddRegIDObj);
                               MainPage.RequestHttps (@"AddRegID", mAddRegIDObjJson, true, false);
                               //string jsonString = "{" +
                               //                       "\"RegID\":" + "\"" + UserConfig.Instance.tokenID + "\"" + "," +
                               //                       "\"Alias\":" + "\"" + UserConfig.Instance.phoneName + "\"" + "," +
                               //                       "\"Account\":" + "\"" + account + "\"" +
                               //                       "}";
                               //MainPage.RequestHttps (@"AddRegID", jsonString, true);
#if wallon
#else