From 33c3368938a8f587350fda51668a7d93c4bc1b49 Mon Sep 17 00:00:00 2001 From: lemon <15040771@qq.com> Date: Wed, 29 Sep 2021 11:21:53 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Jobs/OrderTimeout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/OrderTimeout.php b/app/Jobs/OrderTimeout.php index f476d47..85d0b11 100644 --- a/app/Jobs/OrderTimeout.php +++ b/app/Jobs/OrderTimeout.php @@ -55,7 +55,7 @@ class OrderTimeout implements ShouldQueue ->whereNotNull('timeout') ->where('order_no', $this->orderNumber) ->first(); - + Log::info('order',$v); if (!empty($v) && !is_null($v->timeout) && strtotime($v->timeout) < time()) { DB::beginTransaction(); try { From 645add2bbd98a2af123bbe4869fb44a435161f10 Mon Sep 17 00:00:00 2001 From: lemon <15040771@qq.com> Date: Wed, 29 Sep 2021 11:28:34 +0800 Subject: [PATCH 2/3] 1 --- app/Jobs/OrderTimeout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/OrderTimeout.php b/app/Jobs/OrderTimeout.php index 85d0b11..ab6ed7a 100644 --- a/app/Jobs/OrderTimeout.php +++ b/app/Jobs/OrderTimeout.php @@ -55,7 +55,7 @@ class OrderTimeout implements ShouldQueue ->whereNotNull('timeout') ->where('order_no', $this->orderNumber) ->first(); - Log::info('order',$v); + //Log::info('order',$v); if (!empty($v) && !is_null($v->timeout) && strtotime($v->timeout) < time()) { DB::beginTransaction(); try { From 8d1d62d1a436a3f795dd1e043d965731671406d9 Mon Sep 17 00:00:00 2001 From: lemon <15040771@qq.com> Date: Wed, 29 Sep 2021 11:33:32 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=97=A5=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Jobs/OrderTimeout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/OrderTimeout.php b/app/Jobs/OrderTimeout.php index ab6ed7a..fa893aa 100644 --- a/app/Jobs/OrderTimeout.php +++ b/app/Jobs/OrderTimeout.php @@ -55,7 +55,7 @@ class OrderTimeout implements ShouldQueue ->whereNotNull('timeout') ->where('order_no', $this->orderNumber) ->first(); - //Log::info('order',$v); + Log::info($v->timeout); if (!empty($v) && !is_null($v->timeout) && strtotime($v->timeout) < time()) { DB::beginTransaction(); try {