From 09bde2ffef953fa5e78a4320aa8bbe03276ed7c5 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 23 三月 2021 09:19:54 +0800 Subject: [PATCH] Merge branch 'WJC' into temp-wxr --- HDL_ON/DAL/Server/HttpServerRequest.cs | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs index 7dd8e14..288ddf1 100644 --- a/HDL_ON/DAL/Server/HttpServerRequest.cs +++ b/HDL_ON/DAL/Server/HttpServerRequest.cs @@ -1792,6 +1792,7 @@ d.Add("homeId", DB_ResidenceData.Instance.CurrentRegion.RegionID); d.Add("productPlatform", productPlatform); d.Add("productBrand", productBrand); + d.Add("networkConfig", true); var requestJson = HttpUtil.GetSignRequestJson(d); return HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_GetDevcieList, requestJson); @@ -1808,12 +1809,26 @@ d.Add("categoryType", 1); d.Add("productPlatform", productPlatform); d.Add("productBrand", productBrand); + d.Add("networkConfig", true); + var requestJson = HttpUtil.GetSignRequestJson(d); return HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_Get3tyBrandDevcieList, requestJson); } + /// <summary> + /// 鑾峰彇璁惧璇︽儏 + /// </summary> + /// <returns></returns> + public ResponsePackNew GetDeviceInfo(string functionId) + { + Dictionary<string, object> d = new Dictionary<string, object>(); + d.Add("homeId", DB_ResidenceData.Instance.CurrentRegion.RegionID); + d.Add("deviceIds", new List<string>() { functionId }); + var requestJson = HttpUtil.GetSignRequestJson(d); + return HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_GetDevcieInfoList, requestJson); + } /// <summary> /// 鑾峰彇璁惧璇︽儏鍒楄〃 -- Gitblit v1.8.0