From b4e8bcd83299837a9b02ad9245c4da91d8d87ae9 Mon Sep 17 00:00:00 2001 From: lilili Date: Fri, 31 Mar 2023 08:43:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WMS-BS/NFine.Data/Extensions/HTTPHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WMS-BS/NFine.Data/Extensions/HTTPHelper.cs b/WMS-BS/NFine.Data/Extensions/HTTPHelper.cs index 38e648b..85874c3 100644 --- a/WMS-BS/NFine.Data/Extensions/HTTPHelper.cs +++ b/WMS-BS/NFine.Data/Extensions/HTTPHelper.cs @@ -11,7 +11,7 @@ namespace NFine.Data.Extensions { public class HTTPHelper { - private static log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); + //private static log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); public static string HttpPost(string apiName, string url, string body) { @@ -35,7 +35,7 @@ namespace NFine.Data.Extensions } catch (System.Net.WebException ex) { - log.Error(ex.ToString() + Environment.NewLine + url + Environment.NewLine + body); + //log.Error(ex.ToString() + Environment.NewLine + url + Environment.NewLine + body); throw new Exception(apiName + "调用失败," + ex.Message); } }