From 956915cbe1c4e975863f0566a0c4159cdbe190ba Mon Sep 17 00:00:00 2001 From: liqi Date: Tue, 25 Mar 2025 10:25:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E4=BF=AE=E5=A4=8DBug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/jobs/ProductOrderPaidJob.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/jobs/ProductOrderPaidJob.php b/common/jobs/ProductOrderPaidJob.php index 4983549..3fe99df 100644 --- a/common/jobs/ProductOrderPaidJob.php +++ b/common/jobs/ProductOrderPaidJob.php @@ -27,7 +27,10 @@ class ProductOrderPaidJob extends BaseJob implements JobInterface 'cancel_status' => 0, 'refund_status' => 0, ]); - if (!$ProductOrder || $ProductOrder->type != 2) { +// if (!$ProductOrder || $ProductOrder->type != 2) { +// throw new \Exception('订单不存在'); +// } + if (!$ProductOrder) { throw new \Exception('订单不存在'); }