From 826058b8425fef2908b90acf79b6e2a25f54682a Mon Sep 17 00:00:00 2001 From: kuaifan Date: Fri, 14 Aug 2026 22:43:28 +0000 Subject: [PATCH] fix: extend online license request timeout --- app/Module/OnlineLicense.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Module/OnlineLicense.php b/app/Module/OnlineLicense.php index b3ff20bfe..dd2ae77ae 100644 --- a/app/Module/OnlineLicense.php +++ b/app/Module/OnlineLicense.php @@ -113,7 +113,7 @@ class OnlineLicense if ($bearer !== '') { $headers['Authorization'] = 'Bearer ' . $bearer; } - $resp = Ihttp::ihttp_request($url, json_encode($payload, JSON_UNESCAPED_UNICODE), $headers, 15); + $resp = Ihttp::ihttp_request($url, json_encode($payload, JSON_UNESCAPED_UNICODE), $headers, 30); if (Base::isError($resp)) { return ['ok' => false, 'data' => [], 'message' => $resp['msg'] ?: '无法连接授权服务']; }