支付修复Bug

This commit is contained in:
2025-03-25 10:25:20 +08:00
parent f7ff9840db
commit 956915cbe1

View File

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