From 23902ce12b79838093afde6e77a0d46b2d1d6768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?= <819653817@qq.com> Date: Tue, 25 Mar 2025 09:38:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9B=E7=8E=87=E8=B6=85=E6=97=B6=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/request.js | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/request.js b/utils/request.js index 026d5f5..f2fe1f1 100644 --- a/utils/request.js +++ b/utils/request.js @@ -8,6 +8,7 @@ const request = function (url, options) { wx.request({ url: `${global.BASEURL()}${url}`, method: options.method, + timeout: 120000, // 设置超时时间为 120 秒(120000 毫秒) data: options.method === 'GET' ? options.data : JSON.stringify(options.data), header: { 'Content-Type': 'application/json; charset=UTF-8',