update: check order

This commit is contained in:
tokumeikoi 2021-10-14 15:45:42 +08:00
parent eb98d706ae
commit 10d3feb57c

View File

@ -45,6 +45,7 @@ class CheckOrder extends Command
{
ini_set('memory_limit', -1);
$orders = Order::whereIn('status', [0, 1])
->orderBy('created_at', 'ASC')
->get();
foreach ($orders as $order) {
OrderHandleJob::dispatch($order->trade_no);