From a6e88ed16c1c2e28b209450d5c9abc21005ec5ee Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期四, 24 六月 2021 16:57:36 +0800
Subject: [PATCH] 2021-06-24 1.增加网关动态密钥处理

---
 Crabtree/SmartHome/HDL/Common/HttpUtil/HttpServerRequest.cs |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/Crabtree/SmartHome/HDL/Common/HttpUtil/HttpServerRequest.cs b/Crabtree/SmartHome/HDL/Common/HttpUtil/HttpServerRequest.cs
index 996d34e..0c2f234 100644
--- a/Crabtree/SmartHome/HDL/Common/HttpUtil/HttpServerRequest.cs
+++ b/Crabtree/SmartHome/HDL/Common/HttpUtil/HttpServerRequest.cs
@@ -150,7 +150,7 @@
                 requestObj.memberEmail = account;
             }
             var requestJson = HttpUtil.GetSignRequestJson(requestObj);
-            return HttpUtil.RequestHttpsPost(NewAPI.API_POST_Member_Register, requestJson);
+            return HttpUtil.RequestHttpsPost(NewAPI.API_POST_Member_Register, requestJson, "", "", HttpUtil.TIME_OUT_LONG);
         }
 
         /// <summary>
@@ -915,6 +915,17 @@
         }
 
         /// <summary>
+        /// 瑙i櫎闊崇缁戝畾
+        /// </summary>
+        /// <returns></returns>
+        public ResponsePackNew UnbindSpeaker (string tokenId)
+        {
+            Dictionary<string, object> d = new Dictionary<string, object> ();
+            d.Add ("tokenId", tokenId);
+            var requestJson = HttpUtil.GetSignRequestJson (d);
+            return HttpUtil.RequestHttpsPostFroHome (NewAPI.API_POST_Speaker_Unbind, requestJson);
+        }
+        /// <summary>
         /// 鑾峰彇闊崇鍒嗛厤鐨勮澶囧拰鍦烘櫙鍒楄〃
         /// </summary>
         /// <param name="getType">0 鏄煡璇㈠叏閮� 1鏄煡璇㈣澶� 2鏄煡璇㈠満鏅�</param>

--
Gitblit v1.8.0