| | |
| | | } |
| | | return revertObj.Code; |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | |
| | | #region 注册、登录部分 |
| | | |
| | | |
| | | /// <summary> |
| | | /// 通用 发送验证码方法 |
| | | /// </summary> |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 绑定网关 |
| | | /// </summary> |
| | | /// <param name="mac"></param> |
| | | /// <returns></returns> |
| | | public ResponsePackNew BindGateway (BindGatewayObj newGateway) |
| | | { |
| | | var requestJson = HttpUtil.GetSignRequestJson (newGateway); |
| | | return HttpUtil.RequestHttpsPostFroHome (NewAPI.API_POST_BindGateway, requestJson); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取刷新当前住宅的网关列表 |
| | | /// </summary> |
| | | public string GetHomeGatewayList() |
| | |
| | | return revertObj.Code; |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 获取住宅下的成员账号 |
| | | /// </summary> |