From 66c72ee19b9e3543537621b8dd25685c9b5c03c4 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 02 八月 2022 14:05:30 +0800 Subject: [PATCH] RGB色盘优化,第三方平台对接功能 --- HDL_ON/DAL/Server/HttpServerRequest.cs | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs index 02d3aaf..3a6d450 100644 --- a/HDL_ON/DAL/Server/HttpServerRequest.cs +++ b/HDL_ON/DAL/Server/HttpServerRequest.cs @@ -2664,16 +2664,30 @@ var pack = HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_Get3tyIotFunction, requestJson); return pack; } + /// <summary> + /// 鑾峰彇绗笁鏂瑰钩鍙版敮鎸佺殑璁惧绫诲瀷鍒楄〃 + /// </summary> + /// <returns></returns> + public ResponsePackNew Get3tyIotSupportSpkList(string companyId) + { + Dictionary<string, object> d = new Dictionary<string, object>(); + d.Add("companyId", companyId); + var requestJson = HttpUtil.GetSignRequestJson(d); + + var pack = HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_Get3tyIotFunction, requestJson); + return pack; + } /// <summary> /// 璁剧疆绗笁鏂硅澶囩粦瀹氱殑浣忓畢 /// </summary> /// <returns></returns> - public ResponsePackNew Set3tyIotFunctionToHouse(string deviceId,string homeId) + public ResponsePackNew Set3tyIotFunctionToHouse(string deviceId,string homeId, string companyId) { Dictionary<string, object> d = new Dictionary<string, object>(); d.Add("deviceId", deviceId); d.Add("homeId", homeId); + d.Add("companyId", companyId); var requestJson = HttpUtil.GetSignRequestJson(d); var pack = HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_Setting3tyIotFunctionToHouse, requestJson); -- Gitblit v1.8.0