diff --git a/app/Jobs/OrderHandleJob.php b/app/Jobs/OrderHandleJob.php index d6626d1c..72bbd765 100644 --- a/app/Jobs/OrderHandleJob.php +++ b/app/Jobs/OrderHandleJob.php @@ -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;