From d6578b10542226650e263815dea75e598a7090f9 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 17 八月 2022 13:22:02 +0800 Subject: [PATCH] tcp状态更新,iOS扫描 --- HDL_ON/DAL/Server/HttpServerRequest.cs | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs index 3a6d450..a01cdae 100644 --- a/HDL_ON/DAL/Server/HttpServerRequest.cs +++ b/HDL_ON/DAL/Server/HttpServerRequest.cs @@ -340,6 +340,20 @@ var requestJson = HttpUtil.GetSignRequestJson(requestObj); return HttpUtil.RequestHttpsPost(NewAPI.API_POST_Member_ForgetPwd, requestJson); } + /// <summary> + /// 淇敼瀵嗙爜 + /// </summary> + /// <param name="loginPwd"></param> + /// <param name="loginNewPwd"></param> + /// <returns></returns> + public ResponsePackNew UpdataPassword(string loginPwd,string loginNewPwd) + { + Dictionary<string, object> d = new Dictionary<string, object>(); + d.Add("loginPwd", loginPwd); + d.Add("loginNewPwd", loginNewPwd); + var requestJson = HttpUtil.GetSignRequestJson(d); + return HttpUtil.RequestHttpsPost(NewAPI.API_POST_Update_Pwd, requestJson); + } /// <summary> /// 楠岃瘉楠岃瘉鐮� @@ -2682,10 +2696,10 @@ /// 璁剧疆绗笁鏂硅澶囩粦瀹氱殑浣忓畢 /// </summary> /// <returns></returns> - public ResponsePackNew Set3tyIotFunctionToHouse(string deviceId,string homeId, string companyId) + public ResponsePackNew Set3tyIotFunctionToHouse(List<string> deviceIds,string homeId, string companyId) { Dictionary<string, object> d = new Dictionary<string, object>(); - d.Add("deviceId", deviceId); + d.Add("deviceIds", deviceIds); d.Add("homeId", homeId); d.Add("companyId", companyId); var requestJson = HttpUtil.GetSignRequestJson(d); -- Gitblit v1.8.0