From 9f326f4000847e6167d8166fa2f6a66f53cb3734 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 17 十二月 2020 09:07:13 +0800 Subject: [PATCH] 新云端Ver1.3 --- ZigbeeApp/Shared/Phone/Common/Logic/HdlGatewayLogic.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Common/Logic/HdlGatewayLogic.cs b/ZigbeeApp/Shared/Phone/Common/Logic/HdlGatewayLogic.cs index 0c4f93b..7d36d23 100644 --- a/ZigbeeApp/Shared/Phone/Common/Logic/HdlGatewayLogic.cs +++ b/ZigbeeApp/Shared/Phone/Common/Logic/HdlGatewayLogic.cs @@ -2315,7 +2315,7 @@ { //璋冪敤鎺ュ彛锛岀粦瀹氱綉鍏�(鍗充娇澶辫触锛屼篃杩斿洖true寰�涓嬭蛋) var pra = new { homeId = Config.Instance.Home.Id, mac = i_gatewayId, gatewayType = "ZIGBEEGATEWAY" }; - var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/gateway/bindGateway", RestSharp.Method.POST, pra, null, null, CheckMode.A璐﹀彿鏉冮檺); + var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/app/gateway/bindGateway", RestSharp.Method.POST, pra, null, null, CheckMode.A璐﹀彿鏉冮檺); if (result == null || result.Code != HttpMessageEnum.A鎴愬姛) { return -1; @@ -2331,7 +2331,7 @@ { //杩欎釜鎺ュ彛鐗规畩,涓嶉渶瑕佹娴嬫潈闄� var pra = new { homeId = i_homeId }; - var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/gateway/getGatewayList", RestSharp.Method.POST, pra); + var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/app/gateway/getGatewayList", RestSharp.Method.POST, pra); if (result == null || result.Code != HttpMessageEnum.A鎴愬姛) { return null; @@ -2356,7 +2356,7 @@ public bool DeleteDataBaseGateway(string strWayId) { var pra = new { homeId = Config.Instance.Home.Id, mac = strWayId }; - var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/gateway/untieGateway", RestSharp.Method.POST, pra, null, null, CheckMode.A璐﹀彿鏉冮檺); + var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/app/gateway/untieGateway", RestSharp.Method.POST, pra, null, null, CheckMode.A璐﹀彿鏉冮檺); if (result == null || result.Code != HttpMessageEnum.A鎴愬姛) { return false; -- Gitblit v1.8.0