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('订单不存在'); }