From 7d46d083a804b7d40eb99ec488ebe55d31747043 Mon Sep 17 00:00:00 2001 From: "qiyunfanbo126.com" <815699> Date: Fri, 2 Aug 2024 11:40:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BB=B7=E6=A0=BC=E6=8E=92?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/third/market/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/third/market/config.go b/app/third/market/config.go index 2cf5ab5..0987bc6 100644 --- a/app/third/market/config.go +++ b/app/third/market/config.go @@ -71,7 +71,7 @@ func (this *MarketClient) doPost(url string, jsonBytes []byte) (body []byte, err // 创建HTTP客户端 client := &http.Client{ - Timeout: 3 * time.Second, // 设置请求超时时间为5秒 + Timeout: 30 * time.Second, // 设置请求超时时间为5秒 } // 发送请求并处理响应