From 24de88ebbbb3597bb2043840bc685e3d59363967 Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期一, 07 七月 2025 16:48:39 +0800 Subject: [PATCH] 优化轮询ERP信息流程、添加AGV接口报文打印、执行中任务强制取消的功能 --- util/HttpHelper.cs | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/util/HttpHelper.cs b/util/HttpHelper.cs index 9b6fc80..d71f403 100644 --- a/util/HttpHelper.cs +++ b/util/HttpHelper.cs @@ -5,7 +5,7 @@ using System.Net; using System.Text; -namespace HH.WCS.Mobox3.AnGang.config { +namespace HH.WCS.Mobox3.AnGang.util { public class HttpHelper { public string WebPost(string url, string postData, string cotentType = "application/json") { @@ -101,9 +101,8 @@ if (stream != null) stream.Close(); if (rsp != null) rsp.Close(); } - } - + public string Post(string url, string postData, string contentType = "application/json", string sessionId = "") { Console.WriteLine(url); WebRequest request = WebRequest.Create(url); -- Gitblit v1.9.1