From 60994422d1ff27c24ed8bdf1076f50166ca638db Mon Sep 17 00:00:00 2001 From: 肖洋 <cathay_xy@163.com> Date: 星期二, 07 一月 2025 18:21:25 +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