From ed8b62c72831d92067369cc9abb35f1470b8e4d3 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 03 一月 2023 17:30:14 +0800
Subject: [PATCH] 增加上网秘钥写入,本地通讯秘钥写入

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

diff --git a/Crabtree/SmartHome/HDL/Common/HttpUtil/HttpServerRequest.cs b/Crabtree/SmartHome/HDL/Common/HttpUtil/HttpServerRequest.cs
index 0d8a1da..4735acc 100644
--- a/Crabtree/SmartHome/HDL/Common/HttpUtil/HttpServerRequest.cs
+++ b/Crabtree/SmartHome/HDL/Common/HttpUtil/HttpServerRequest.cs
@@ -1024,6 +1024,21 @@
         }
         #endregion
 
+        /// <summary>
+        /// 鐢宠璁惧瀵嗛挜
+        /// </summary>
+        /// <param name="mac"></param>
+        /// <returns></returns>
+        public ResponsePackNew ApplyDeviceSecret (string mac)
+        {
+            Dictionary<string, object> d = new Dictionary<string, object> ();
+            d.Add ("supplier", "HDL");
+            d.Add ("mac", mac);
+            d.Add ("spk", "BUSUDPGATEWAY");
+            var requestJson = HttpUtil.GetSignRequestJson (d);
+            return HttpUtil.RequestHttpsPostFroHome (NewAPI.Api_Post_ApplyDeviceSecret, requestJson);
+        }
+
         //#region Kaede --璁惧鍔熻兘鈥斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺�斺��
         ///// <summary>
         ///// 鑾峰彇璁惧鍒楄〃

--
Gitblit v1.8.0