From 6ee339fc947c01b08a6e549e232f320253f16120 Mon Sep 17 00:00:00 2001
From: mac <user@users-MacBook-Pro.local>
Date: 星期四, 14 九月 2023 18:04:03 +0800
Subject: [PATCH] 2023年09月14日18:04:01

---
 HDL_ON/DAL/Server/HttpServerRequest.cs |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs
index 4e6e381..a3038f6 100644
--- a/HDL_ON/DAL/Server/HttpServerRequest.cs
+++ b/HDL_ON/DAL/Server/HttpServerRequest.cs
@@ -2288,7 +2288,7 @@
             d.Add("actions", actionObjs);
 
             var requestJson = HttpUtil.GetSignRequestJson(d);
-            MainPage.Log($"api鍔熻兘鎺у埗锛歿requestJson}");
+            MainPage.Log($"api鍙戦�佹帶鍒讹細{requestJson}");
             return HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_ControlDevice, requestJson);
         }
         /// <summary>
@@ -3404,7 +3404,7 @@
         /// <param name="deviceId"></param>
         /// <param name="sound"></param>
         /// <returns></returns>
-        public ResponsePackNew SetDoorLockSystemSound(string deviceId,string sound)
+        public ResponsePackNew SetDoorLockSystemSound(string deviceId,int sound)
         {
             var d = new Dictionary<string, object>();
             d.Add("homeId", DB_ResidenceData.Instance.CurrentRegion.id);
@@ -3434,7 +3434,7 @@
         /// <param name="deviceId"></param>
         /// <param name="volume"></param>
         /// <returns></returns>
-        public ResponsePackNew SetDoorBellTone(string deviceId, string volume)
+        public ResponsePackNew SetDoorBellTone(string deviceId, int volume)
         {
             var d = new Dictionary<string, object>();
             d.Add("homeId", DB_ResidenceData.Instance.CurrentRegion.id);
@@ -3649,7 +3649,6 @@
             var pack = HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_GetGroupControlInfos, requestJson);
             return pack;
         }
-
         /// <summary>
         /// 鑾峰彇缇ゆ帶璇︽儏
         /// </summary>

--
Gitblit v1.8.0