update: set cancel order interval to 2 hours

This commit is contained in:
v2board 2023-07-25 23:38:30 +08:00
parent e6b6d1022e
commit 07de70d8ab

View File

@ -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;