feat: 新增临时压缩下载文件24小时自动清理
This commit is contained in:
@@ -1114,6 +1114,6 @@ class FileController extends AbstractController
|
||||
if (!file_exists($zipPath)) {
|
||||
abort(403, "The file does not exist.");
|
||||
}
|
||||
return response()->download($zipPath)->deleteFileAfterSend(true);
|
||||
return response()->download($zipPath);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user