From abbc0ac93a533cbb43c329c813611154454d9836 Mon Sep 17 00:00:00 2001 From: 肖洋 <cathay_xy@163.com> Date: 星期三, 08 一月 2025 13:12:18 +0800 Subject: [PATCH] 修复潜在运行时错误,新增删除数据功能 --- Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Common/HttpClient/HttpsClient.cs | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Common/HttpClient/HttpsClient.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Common/HttpClient/HttpsClient.cs index 692d693..3a0a4af 100644 --- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Common/HttpClient/HttpsClient.cs +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Common/HttpClient/HttpsClient.cs @@ -54,6 +54,8 @@ // 灏嗗弬鏁拌浆鎹负FormUrlEncodedContent string content = JsonConvert.SerializeObject(parameters); + //client.Timeout = TimeSpan.from; + var request = new HttpRequestMessage(HttpMethod.Post, url); request.Content = new StringContent(content, Encoding.UTF8, "application/json"); -- Gitblit v1.9.3