mirror of
https://github.com/v2board/v2board.git
synced 2024-11-13 02:59: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);
|
ini_set('memory_limit', -1);
|
||||||
$orders = Order::whereIn('status', [0, 1])
|
$orders = Order::whereIn('status', [0, 1])
|
||||||
|
->orderBy('created_at', 'ASC')
|
||||||
->get();
|
->get();
|
||||||
foreach ($orders as $order) {
|
foreach ($orders as $order) {
|
||||||
OrderHandleJob::dispatch($order->trade_no);
|
OrderHandleJob::dispatch($order->trade_no);
|
||||||
|
Loading…
Reference in New Issue
Block a user