mirror of
https://github.com/v2board/v2board.git
synced 2025-02-04 12:39:12 +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) {
|
switch ($this->order->status) {
|
||||||
// cancel
|
// cancel
|
||||||
case 0:
|
case 0:
|
||||||
if ($this->order->created_at <= (time() - 1800)) {
|
if ($this->order->created_at <= (time() - 3600 * 2)) {
|
||||||
$orderService->cancel();
|
$orderService->cancel();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user