| | |
| | | return true; |
| | | } |
| | | var pra = new { homeId = Config.Instance.Home.Id }; |
| | | var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/child/account/debug", RestSharp.Method.POST, pra); |
| | | var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/app/child/account/debug", RestSharp.Method.POST, pra); |
| | | if (result == null || result.Code != HttpMessageEnum.A成功) |
| | | { |
| | | return false; |
| | |
| | | public byte[] DownLoadAccountPictrue(string i_account) |
| | | { |
| | | var pra = new { account = i_account }; |
| | | var result = HdlHttpLogic.Current.RequestByteFromZigbeeHttps("home-wisdom/head/portrait/downWithAccount", RestSharp.Method.POST, pra); |
| | | var result = HdlHttpLogic.Current.RequestByteFromZigbeeHttps("home-wisdom/app/head/portrait/downWithAccount", RestSharp.Method.POST, pra); |
| | | if (result != null && result.Length == 0) |
| | | { |
| | | result = null; |
| | |
| | | /// </summary> |
| | | public string TokenType = string.Empty; |
| | | /// <summary> |
| | | /// 这个是新接口的Guid |
| | | /// 这个是新接口的Guid,也是账号id |
| | | /// </summary> |
| | | public string UserId = string.Empty; |
| | | /// <summary> |