From 22fff2fc1df70cf3820f97206971d87cc62381c2 Mon Sep 17 00:00:00 2001 From: 2535688890 <46720646+2535688890@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:43:38 +0800 Subject: [PATCH] disable Console.WriteLine MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 生产和开发环境,每次请求都会打印出无用数据 System.Collections.Generic.Dictionary`2[System.Object,System.Object] --- v2/AlipaySDKNet.Standard/Parser/AopJsonParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/AlipaySDKNet.Standard/Parser/AopJsonParser.cs b/v2/AlipaySDKNet.Standard/Parser/AopJsonParser.cs index 4856679c7..669f80e03 100644 --- a/v2/AlipaySDKNet.Standard/Parser/AopJsonParser.cs +++ b/v2/AlipaySDKNet.Standard/Parser/AopJsonParser.cs @@ -269,7 +269,7 @@ private static Dictionary GetAopAttributes(Type type) private static string GetSign(string body) { IDictionary json = JsonConvert.DeserializeObject(body); - Console.WriteLine(json); + // Console.WriteLine(json); return (string)json["sign"]; }