MES对接

This commit is contained in:
a88359121
2025-07-29 15:14:39 +08:00
parent c45e3622af
commit a1ba7e36a3
3 changed files with 26 additions and 13 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ namespace JinYuan.MES
StringContent stringContent = new StringContent(strJosnData, Encoding.UTF8, "application/json");
string ResponseMessage= new HttpClient()
{
Timeout = TimeSpan.FromSeconds(6.0)
Timeout = TimeSpan.FromSeconds(3.0)
}.PostAsync(url, (HttpContent)stringContent).Result.Content.ReadAsStringAsync().Result;
return ResponseMessage;
}