From 60df9596d566807ac7cccaad2c88138dd7b24d0c Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期日, 22 九月 2024 22:06:38 +0800 Subject: [PATCH] Update AppDelegate.cs --- HDL_ON/DAL/Server/HttpUtil.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HDL_ON/DAL/Server/HttpUtil.cs b/HDL_ON/DAL/Server/HttpUtil.cs index bac48c5..5030f20 100644 --- a/HDL_ON/DAL/Server/HttpUtil.cs +++ b/HDL_ON/DAL/Server/HttpUtil.cs @@ -251,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 @@ -270,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) }; } @@ -339,7 +339,7 @@ #endif return true; } - else if (revertObj.Code == StateCode.PasswrodError) + else //if (revertObj.Code == StateCode.PasswrodError) { UserInfo.Current.LastTime = DateTime.MinValue; } -- Gitblit v1.8.0