diff --git a/app/Jobs/OrderTimeout.php b/app/Jobs/OrderTimeout.php index fa893aa..4e149c6 100644 --- a/app/Jobs/OrderTimeout.php +++ b/app/Jobs/OrderTimeout.php @@ -55,8 +55,7 @@ class OrderTimeout implements ShouldQueue ->whereNotNull('timeout') ->where('order_no', $this->orderNumber) ->first(); - Log::info($v->timeout); - if (!empty($v) && !is_null($v->timeout) && strtotime($v->timeout) < time()) { + if (!empty($v) && !is_null($v->timeout) && strtotime($v->timeout) <= time()) { DB::beginTransaction(); try { //取消订单