From 2096714a1e8ef511b18f5c1b9e45708957319cc2 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Wed, 8 Mar 2023 12:08:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=80=80=E6=AC=BE=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/InquiryService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("订单支付状态错误"); }