去除导出限制
This commit is contained in:
parent
7a6d9a3e03
commit
c81723342e
@ -261,14 +261,14 @@ class OrderController extends Controller
|
||||
try {
|
||||
$total = app(OrderCardPartitionRepository::class)->withRefunded()->withConditions($conditions)->count();
|
||||
|
||||
if ($total > 200000) {
|
||||
throw new NotAllowedException('数据量过大,请筛选后再进行导出');
|
||||
}
|
||||
// if ($total > 200000) {
|
||||
// throw new NotAllowedException('数据量过大,请筛选后再进行导出');
|
||||
// }
|
||||
|
||||
$queue = $total > 30000;
|
||||
// $queue = $total > 30000;
|
||||
|
||||
$export = new OrderCardExport($conditions);
|
||||
$url = ExportService::store($export, 'public', $queue);
|
||||
$url = ExportService::store($export, 'public', false);
|
||||
} catch (\Exception $e) {
|
||||
throw $e;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user