mirror of
https://github.com/v2board/v2board.git
synced 2025-01-25 15:39:10 +08:00
update: set cancel order interval to 2 hours
This commit is contained in:
parent
e6b6d1022e
commit
07de70d8ab
@ -42,7 +42,7 @@ class OrderHandleJob implements ShouldQueue
|
||||
switch ($this->order->status) {
|
||||
// cancel
|
||||
case 0:
|
||||
if ($this->order->created_at <= (time() - 1800)) {
|
||||
if ($this->order->created_at <= (time() - 3600 * 2)) {
|
||||
$orderService->cancel();
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user