From d53e6af2c5f17838fa79659614b15a2a1f383399 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 31 三月 2023 10:04:58 +0800
Subject: [PATCH] 1

---
 Crabtree/SmartHome/HDL/Common/HttpUtil/HttpUtil.cs |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/Crabtree/SmartHome/HDL/Common/HttpUtil/HttpUtil.cs b/Crabtree/SmartHome/HDL/Common/HttpUtil/HttpUtil.cs
index dafbc52..3b3f764 100644
--- a/Crabtree/SmartHome/HDL/Common/HttpUtil/HttpUtil.cs
+++ b/Crabtree/SmartHome/HDL/Common/HttpUtil/HttpUtil.cs
@@ -1,5 +1,5 @@
-锘�///**鍙戝竷鐜 浣跨敤鍙戝竷鐜 鍙戝竷鐨勬寮忕鍚岾EY**/
-//#define Distribution
+锘�/**鍙戝竷鐜 浣跨敤鍙戝竷鐜 鍙戝竷鐨勬寮忕鍚岾EY**/
+#define Distribution
 
 ///**娴嬭瘯鐜 浣跨敤娴嬭瘯鐜 浣跨敤娴嬭瘯鐨勭鍚岾EY**/
 //#undef Distribution 
@@ -56,7 +56,11 @@
         /// 鍥哄畾鍩熷悕,姝e紡鐜
         /// 鍏叡鍩熷悕灏辫繎瑙f瀽
         /// </summary>
-        public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com";
+#if DEBUG1
+        public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com";
+#else
+        public const string GlobalRequestHttpsHost = "https://bahrain-gateway.hdlcontrol.com";
+#endif
         /// <summary>
         /// 
         /// </summary>
@@ -67,20 +71,20 @@
         const string SECRET_KEY = "yPL345bn68gHnvilG4tYbq3cTYkiHu";
 
 #else
-         ///**********娴嬭瘯鐜**********
+        ///**********娴嬭瘯鐜**********
         /// <summary>
         /// 鍥哄畾鍩熷悕,娴嬭瘯澧�
         /// 鍏叡鍩熷悕灏辫繎瑙f瀽
         /// </summary>
-        public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com";
+        public const string GlobalRequestHttpsHost = "https://china-gateway.hdlcontrol.com";
         /// <summary>
         /// 
         /// </summary>
-        const string APP_KEY = "HDL-HOME-IND-APP-TEST";
+        const string APP_KEY = "HDL-APP-TENANT";
         /// <summary>
         /// 
         /// </summary>
-        const string SECRET_KEY = "yeJ8TY98vbakCpnvH8G1tDUqzLWY8yts";
+        const string SECRET_KEY = "CeL345bn28gHnvi9G4tYcq3cTYkiiC";
 #endif
 
         /// <summary>

--
Gitblit v1.8.0