From 0ed390381862dea0c7fd0210d16017eb09f12da4 Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期三, 30 七月 2025 17:27:27 +0800 Subject: [PATCH] 封装插入容器表等业务代码, 修复部分底层旧框架方法问题 --- util/HttpHelper.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/util/HttpHelper.cs b/util/HttpHelper.cs index 44c3df4..6efe80a 100644 --- a/util/HttpHelper.cs +++ b/util/HttpHelper.cs @@ -9,7 +9,7 @@ public class HttpHelper { public string WebPost(string url, string postData, string cotentType = "application/json") { - Console.WriteLine(url); + LogHelper.Info($"WebPost:璁块棶:{url}", "API"); WebRequest request = WebRequest.Create(url); request.Method = "POST"; //string postData = JsonConvert.SerializeObject(data); ; @@ -35,7 +35,7 @@ } catch (Exception e) { - LogHelper.Info($"WebPost res={e.Message}", "API"); + LogHelper.Info($"WebPost:寮傚父:{e.Message}\n\n{e.StackTrace}\n", "API"); return ""; } finally -- Gitblit v1.9.1