| | |
| | | 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"; |
| | |
| | | Text = password, |
| | | }; |
| | | #if DEBUG |
| | | etPasswrod.Text = "85521566"; |
| | | etPasswrod.Text = "123456"; |
| | | #endif |
| | | passwrodView.AddChidren (etPasswrod); |
| | | |
| | |
| | | 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 |