| | |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// 获取住宅交付链接 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public ResponsePackNew GetHouseDeliveryUrl() |
| | | { |
| | | var d = new Dictionary<string, object>(); |
| | | d.Add("homeId", DB_ResidenceData.Instance.CurrentRegion.id); |
| | | var jsonString = HttpUtil.GetSignRequestJson(d); |
| | | var revertObj = HttpUtil.RequestHttpsPostFroHome(NewAPI.APi_Post_GetHoserDeliverUrl, jsonString); |
| | | return revertObj; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 获取网关信息 |
| | | /// </summary> |
| | | public string GetGatewayInfo() |
| | |
| | | var requestJson = HttpUtil.GetSignRequestJson(d); |
| | | return HttpUtil.RequestHttpsPostFroHome(NewAPI.API_POST_Child_UpdateFace, requestJson); |
| | | } |
| | | /// <summary> |
| | | /// 家庭成员绑定账号 |
| | | /// </summary> |
| | | /// <param name="childId"></param> |
| | | /// <param name="faceUrl"></param> |
| | | /// <returns></returns> |
| | | public ResponsePackNew SubChildBindAccount(string childId, string account) |
| | | { |
| | | Dictionary<string, object> d = new Dictionary<string, object>(); |
| | | d.Add("homeId", DB_ResidenceData.Instance.CurrentRegion.id); |
| | | d.Add("childId", childId); |
| | | d.Add("account", account); |
| | | var requestJson = HttpUtil.GetSignRequestJson(d); |
| | | return HttpUtil.RequestHttpsPostFroHome(NewAPI.API_POST_Child_BindAccount, requestJson); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 修改住宅调试权限 |