From 91ce12227476cf87aa5672a741d9ca6eb6bf508c Mon Sep 17 00:00:00 2001
From: libo <Administrator@DESKTOP-1A6QMNS>
Date: 星期一, 31 三月 2025 10:06:31 +0800
Subject: [PATCH] 优化堆垛机任务完成时写入完成代码逻辑

---
 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/WMSApiInvoke.cs |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/WMSApiInvoke.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/WMSApiInvoke.cs"
index 84c3ae4..c2bcee5 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/WMSApiInvoke.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/WMSApiInvoke.cs"
@@ -19,15 +19,11 @@
             string response = "";
             try
             {
-              
                 response = HttpManager.HttpPostAsync(url, "SC01").Result;
-
-              
                 return response;
             }
             catch (Exception ex)
-            {
-              
+            { 
                 return null;
             }
         }
@@ -35,13 +31,11 @@
         public static string SyncLabMaster()
         {
 
-            string url = AppSettings.Configuration.GetSection("WMSApi").Value+ "Sys_Job/SyncLabMaster";
+            string url = AppSettings.Configuration.GetSection("WMS").Value.Replace("PDA", "Sys_Job") + "Sys_Job/SyncLabMaster";
             string response = "";
             try
             {
-
                 response = HttpManager.HttpPostAsync(url, "SC01").Result;
-
 
                 return response;
             }

--
Gitblit v1.9.3