From cbff0b20e75b41dfa1c4014c40f3635faf2b1e0f Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期四, 12 九月 2024 21:48:45 +0800
Subject: [PATCH] Update UserInfo.cs

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

diff --git a/HDL_ON/DAL/Server/HttpUtil.cs b/HDL_ON/DAL/Server/HttpUtil.cs
index 8cadb5d..812e1fb 100644
--- a/HDL_ON/DAL/Server/HttpUtil.cs
+++ b/HDL_ON/DAL/Server/HttpUtil.cs
@@ -22,11 +22,9 @@
         public const string APP_KEY = "HDL-HOME-APP";
         public const string SECRET_KEY = "CPL345bn28gHnvi9G4tYbq3cTYkiHC";
 
-
         //public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com";
         //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