diff --git a/app/Domains/Virtual/Http/Controllers/OrderController.php b/app/Domains/Virtual/Http/Controllers/OrderController.php index 423b860d..bdd562db 100644 --- a/app/Domains/Virtual/Http/Controllers/OrderController.php +++ b/app/Domains/Virtual/Http/Controllers/OrderController.php @@ -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; }