mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: check order
This commit is contained in:
parent
eb98d706ae
commit
10d3feb57c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user