mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-02 16:00:40 +00:00
增加缓存过期时间
This commit is contained in:
parent
5ea906090e
commit
320fd99637
@ -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]);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user