| | |
| | | //请输入接收方的手机号或Email
|
| | | var txtCode = new TextInputControl(Application.GetRealWidth(900), rowAccount.Height, false);
|
| | | txtCode.MustInput = true;
|
| | | txtCode.X = ControlCommonResourse.XXLeft;
|
| | | txtCode.X = HdlControlResourse.XXLeft;
|
| | | txtCode.PlaceholderText = Language.StringByID(R.MyInternationalizationString.uPleaseInputReceiverPhoneOrEmail);
|
| | | rowAccount.AddChidren(txtCode, ChidrenBindMode.NotBind);
|
| | | //联动线的状态
|
| | |
| | | //开启进度条
|
| | | this.ShowProgressBar();
|
| | |
|
| | | var pra = new AccountInfoPra();
|
| | | pra.Account = accountId;
|
| | | var byteData = UserCenterLogic.GetByteResponseDataByRequestHttps("ZigbeeUsers/GetSubAccountInfo", false, pra, new List<string> { "NotCheck" });
|
| | | var result = HdlMemberLogic.Current.SearchNormalInfoByAccount(accountId);
|
| | | //关闭进度条
|
| | | this.CloseProgressBar();
|
| | |
|
| | | if (byteData == null)
|
| | | if (result == null)
|
| | | {
|
| | | //异常
|
| | | return;
|
| | | }
|
| | | var revertObj = Newtonsoft.Json.JsonConvert.DeserializeObject<Common.ResponseEntity.ResponsePack>(System.Text.Encoding.UTF8.GetString(byteData));
|
| | | if (revertObj.StateCode == "AccountNoExists")
|
| | | if (result.Account == string.Empty)
|
| | | {
|
| | | HdlThreadLogic.Current.RunMain(() =>
|
| | | {
|
| | |
| | | return;
|
| | | }
|
| | |
|
| | | var infoResult = Newtonsoft.Json.JsonConvert.DeserializeObject<AccountInfoResult>(revertObj.ResponseData.ToString());
|
| | | infoResult.Account = accountId;
|
| | |
|
| | | HdlThreadLogic.Current.RunMain(() =>
|
| | | {
|
| | | var form2 = new AddMemberInfoForm();
|
| | | form2.AddForm(infoResult, this.TransferDiv);
|
| | | form2.AddForm(result, this.TransferDiv);
|
| | | });
|
| | | }
|
| | |
|