恢复缓存10分钟

This commit is contained in:
wong
2025-07-09 10:31:42 +08:00
parent d9c7703975
commit 40e0938e2c

View File

@@ -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;