From 1498a62d1d44d715e310b42e3133aa8cdc6eec92 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期三, 14 四月 2021 16:40:20 +0800
Subject: [PATCH] 2021-04-13
---
HDL_ON/DAL/Server/HttpServerRequest.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs
index ae86846..0ba5b75 100644
--- a/HDL_ON/DAL/Server/HttpServerRequest.cs
+++ b/HDL_ON/DAL/Server/HttpServerRequest.cs
@@ -492,7 +492,7 @@
Address = mHome.homeAddress,
isAllowCreateScene = mHome.isAllowCreateScene,
};
- //if (home.isBindGateway)
+ if (home.isBindGateway)
{
UserInfo.Current.regionList.Add(home);
}
@@ -1878,6 +1878,7 @@
d.Add("actions", actionObjs);
var requestJson = HttpUtil.GetSignRequestJson(d);
+ MainPage.Log($"{requestJson}");
return HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_ControlDevice, requestJson);
}
/// <summary>
--
Gitblit v1.8.0