修正退款状态判断

This commit is contained in:
wucongxing 2023-03-08 12:08:34 +08:00
parent 220aea3530
commit 2096714a1e

View File

@ -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:转入退款) // 支付状态1:未支付 2:已支付 3:支付中 4:支付失败 5:支付超时 6:支付关闭 7:已撤销 8:转入退款)
throw new BusinessException("订单支付状态错误"); throw new BusinessException("订单支付状态错误");
} }