huangxiaoqiang
3 天以前 32b3c74fa310ee5533693054a3891d133b2a338a
Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Core/Helper/HttpHelper.cs
@@ -7,6 +7,7 @@
using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_Core.LogHelper;
namespace WIDESEAWCS_Core.Helper
{
@@ -78,11 +79,12 @@
                    }
                }
                string result = string.Empty;
                using (HttpContent httpContent = new StringContent(requestJson))
                {
                    httpContent.Headers.ContentType = new MediaTypeHeaderValue("application/json");
                    using HttpClient httpClient = new HttpClient();
                    httpClient.Timeout = new TimeSpan(0, 0, 120);
                    httpClient.Timeout = new TimeSpan(0, 0, 360);
                    if (headers != null)
                    {