From cb385f0b515c738b503c5c75c9d7efcec323716d Mon Sep 17 00:00:00 2001
From: duyongjia <adu_555@163.com>
Date: 星期五, 28 二月 2025 09:12:40 +0800
Subject: [PATCH] 数据库脚本提交
---
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/Common/ApiInvoke.cs | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/Common/ApiInvoke.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/Common/ApiInvoke.cs"
index 366bd53..f6fa824 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/Common/ApiInvoke.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/Common/ApiInvoke.cs"
@@ -5,6 +5,7 @@
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_Common;
+using WIDESEAWCS_Common.ServiceLog;
using WIDESEAWCS_Core.Helper;
using WIDESEAWCS_DTO.TaskInfo;
using static System.Net.WebRequestMethods;
@@ -21,13 +22,16 @@
string response = "";
try
{
+ ServiceLogger.WriteDebug("SendTaskCMD", $"璇锋眰鍙傛暟锛歿postData}");
response = HttpManager.HttpPostAsync(url, postData).Result;
+ ServiceLogger.WriteDebug("SendTaskCMD", $"鍝嶅簲鍙傛暟锛歿response}");
MESResponse res = JsonConvert.DeserializeObject<MESResponse>(response);
return res;
}
catch (Exception ex)
{
- throw new Exception(ex.Message);
+ ServiceLogger.WriteDebug("SendTaskCMD", $"寮傚父鎻忚堪锛歿ex.Message}--{ex.StackTrace}--{ex.InnerException}");
+ return null;
}
}
--
Gitblit v1.9.3