diff --git a/app/Services/InquiryService.php b/app/Services/InquiryService.php index a6cef97..4f23517 100644 --- a/app/Services/InquiryService.php +++ b/app/Services/InquiryService.php @@ -600,7 +600,7 @@ class InquiryService extends BaseService } // 检测支付状态 - if (in_array($order_inquiry['inquiry_pay_status'], [2])) { + if ($order_inquiry['inquiry_pay_status'] != 2) { // 支付状态(1:未支付 2:已支付 3:支付中 4:支付失败 5:支付超时 6:支付关闭 7:已撤销 8:转入退款) throw new BusinessException("订单支付状态错误"); }