From 48091350d466941e7d1a6a9c803ad4205d8c3d86 Mon Sep 17 00:00:00 2001 From: duyongjia <adu_555@163.com> Date: 星期二, 07 一月 2025 09:16:33 +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 8fb0d5f..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("WMS").Value.Replace("","")+ "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