From 22a724344cb747b8a6827e069d1857de59d2d970 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期四, 12 九月 2024 20:26:39 +0800
Subject: [PATCH] Update ClassificationPageBLL.cs

---
 HDL_ON/DAL/Server/HttpUtil.cs |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/HDL_ON/DAL/Server/HttpUtil.cs b/HDL_ON/DAL/Server/HttpUtil.cs
index cd66d30..812e1fb 100644
--- a/HDL_ON/DAL/Server/HttpUtil.cs
+++ b/HDL_ON/DAL/Server/HttpUtil.cs
@@ -19,14 +19,12 @@
         /// 鍏叡鍩熷悕灏辫繎瑙f瀽
         /// </summary>
         public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com";
-        const string APP_KEY = "HDL-HOME-APP";
-        const string SECRET_KEY = "CPL345bn28gHnvi9G4tYbq3cTYkiHC";
-
+        public const string APP_KEY = "HDL-HOME-APP";
+        public const string SECRET_KEY = "CPL345bn28gHnvi9G4tYbq3cTYkiHC";
 
         //public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com";
-        //const string APP_KEY = "HDL-HOME-APP-TEST";
-        //const string SECRET_KEY = "WeJ8TY88vbakCcnvH8G1tDUqzLWY8yss";
-
+        //public const string APP_KEY = "HDL-HOME-APP-TEST";
+        //public const string SECRET_KEY = "WeJ8TY88vbakCcnvH8G1tDUqzLWY8yss";
 
         //public const string GlobalRequestHttpsHost = "http://59.41.255.150:7777";//mmmm
         //const string APP_KEY = "CPEVRLRT";
@@ -253,7 +251,7 @@
                 }
                 else
                 {
-                    HDL_ON.Utlis.WriteLine($"鎺ュ彛寮傚父:{requestFullUrl} \r\n"+response.Content);
+                    MainPage.Log("Error", $"鎺ュ彛寮傚父:{requestFullUrl} \r\n" + response.Content);
                     if(response.Content!= null)
                     {
                         try
@@ -272,7 +270,7 @@
             }
             catch (Exception ex)
             {
-                HDL_ON.Utlis.WriteLine(ex.Message);
+                MainPage.Log("Error", $"鎺ュ彛寮傚父x锛歿ex.StackTrace}");
                 return new ResponsePackNew() { Code = StateCode.NETWORK_ERROR ,message = Language.StringByID(StringId.FailedRequestServer) };
             }
 

--
Gitblit v1.8.0