From 38a11bcfaf3cf703e38201c9c6cd6631354ea243 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 30 十一月 2021 09:55:09 +0800
Subject: [PATCH] Siri功能完成

---
 SiriIntents/Server/HttpServerRequest.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/SiriIntents/Server/HttpServerRequest.cs b/SiriIntents/Server/HttpServerRequest.cs
index fcb96b2..6fe2f52 100644
--- a/SiriIntents/Server/HttpServerRequest.cs
+++ b/SiriIntents/Server/HttpServerRequest.cs
@@ -85,7 +85,7 @@
         /// <summary>
         /// 璁剧疆瀹夐槻闃插尯鐘舵��
         /// </summary>
-        public ResponsePackNew SetSecurityStatus(List<object> securityStates)
+        public string SetSecurityStatus(object securityStates)
         {
             Dictionary<string, object> d = new Dictionary<string, object>();
             d.Add("homeId", DataManager.HomeId);
@@ -93,7 +93,7 @@
             var requestJson = HttpUtil.GetSignRequestJson(d);
             var pack = HttpUtil.RequestHttpsPostFroHome(
                 NewAPI.Api_Post_Security_StatusSet, requestJson);
-            return pack;
+            return pack.Code;
         }
 
 

--
Gitblit v1.8.0