From 99d001bbf2a0371373e15c97d3c6c7dcf45e97e3 Mon Sep 17 00:00:00 2001
From: kazelee <1847801760@qq.com>
Date: 星期五, 13 六月 2025 15:44:22 +0800
Subject: [PATCH] 修复空托上线与满托下线联调的逻辑错误

---
 util/LogHelper.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/util/LogHelper.cs b/util/LogHelper.cs
index 7221e4e..4d2f3d4 100644
--- a/util/LogHelper.cs
+++ b/util/LogHelper.cs
@@ -68,16 +68,16 @@
             if (logger != null) {
                 logger.Error($"{message}{ex.StackTrace}");
             }
-        } 
+        }
 
         #region 鑷畾涔夋柟娉�         public static void InfoEx(Exception ex) {
-            Info($"寮傚父锛歿ex.Message}");
-        } 
-
-        public static void InfoApi(string taskType, object model) {
-            Info($"瑙﹀彂API锛歿taskType} " + JsonConvert.SerializeObject(model), "API");
+            Info($"鍙戠敓浜嗗紓甯革細{ex.Message}\n{ex.StackTrace}");
         }
+
+        public static void InfoApi(string apiName, object model) {
+            Info($"瑙﹀彂API锛歿apiName} " + JsonConvert.SerializeObject(model), "API");
+        } 
         #endregion
 
     }

--
Gitblit v1.9.1