增加缓存过期时间

This commit is contained in:
liaofei 2023-04-15 12:17:07 +08:00
parent 5ea906090e
commit 320fd99637

View File

@ -359,8 +359,8 @@ class SystemCrud extends AuthController
$key = md5($zipName);
CacheService::set($key, [
'path' => $zipName,
'fileName' => Str::camel($info->table_name) . '.zip'
]);
'fileName' => Str::camel($info->table_name) . '.zip',
], 300);
return app()->success(['download_url' => sys_config('site_url') . '/adminapi/download/' . $key]);
}