From 40e0938e2cf2ec0931e10e0424d0345911f746ec Mon Sep 17 00:00:00 2001 From: wong <106998207@qq.com> Date: Wed, 9 Jul 2025 10:31:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E7=BC=93=E5=AD=9810=E5=88=86?= =?UTF-8?q?=E9=92=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/application/common/service/AuthService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/application/common/service/AuthService.php b/Server/application/common/service/AuthService.php index 5eb19b01..aac5fbd1 100644 --- a/Server/application/common/service/AuthService.php +++ b/Server/application/common/service/AuthService.php @@ -235,8 +235,8 @@ class AuthService $authorization = $result_array['access_token']; // 存入缓存,有效期10分钟(600秒) - Cache::set($cacheKey, $authorization, 200); - Cache::set('system_refresh_token', $result_array['refresh_token'], 200); + Cache::set($cacheKey, $authorization, 600); + Cache::set('system_refresh_token', $result_array['refresh_token'], 600); Log::info('已重新获取系统授权信息并缓存'); return $authorization;