From f77a3add1e7ab266e473da9128bbe5758ba3a890 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期日, 20 十二月 2020 19:29:03 +0800 Subject: [PATCH] Merge branch 'NewFilePath' into CJL --- HDL_ON/DAL/Server/HttpServerRequest.cs | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs index 97da5b8..a4d3d4b 100644 --- a/HDL_ON/DAL/Server/HttpServerRequest.cs +++ b/HDL_ON/DAL/Server/HttpServerRequest.cs @@ -164,7 +164,7 @@ } #region 娉ㄥ唽銆佺櫥褰曢儴鍒� - + /// <summary> /// 閫氱敤 鍙戦�侀獙璇佺爜鏂规硶 @@ -622,7 +622,7 @@ if (mHomeGatewayRes.Count > 0) { DB_ResidenceData.Instance.HomeGateway = mHomeGatewayRes[0]; - if(mHomeGatewayRes[0].gatewayStatus == "ON_LINE") + if(mHomeGatewayRes[0].gatewayStatus) { //DriverLayer.Control.Ins.IsRemote = true; DriverLayer.Control.Ins.GatewayOnline = true; @@ -1969,7 +1969,11 @@ d.Add("scenes", new List<Scene>() { scene }); var requestJson = HttpUtil.GetSignRequestJson(d); - return HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_AddSecne, requestJson); + var pack = HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_AddSecne, requestJson); + + MainPage.Log($"{pack.Data}"); + + return pack; } /// <summary> /// 缂栬緫鍦烘櫙 -- Gitblit v1.8.0