修改请求下货纸比对超时时间

optimize
jianghaiqing 2 years ago
parent 105befb85d
commit 5243d038b0

@ -328,7 +328,7 @@ namespace Myshipping.Application
try try
{ {
var res = await url.SetClientTimeout(180).SetHttpMethod(HttpMethod.Post) var res = await url.SetClientTimeout(900).SetHttpMethod(HttpMethod.Post)
.SetBody(JSON.Serialize(info), "application/json") .SetBody(JSON.Serialize(info), "application/json")
.SetContentEncoding(Encoding.UTF8) .SetContentEncoding(Encoding.UTF8)
.PostAsync(); .PostAsync();

Loading…
Cancel
Save