From 7a18e94faf18a5a8ae7bd8dab311940fefd5460e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Fri, 10 Oct 2025 19:25:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E5=9B=9E=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Payment.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/api/controller/Payment.php b/application/api/controller/Payment.php index f208d9a..3820e04 100644 --- a/application/api/controller/Payment.php +++ b/application/api/controller/Payment.php @@ -110,6 +110,7 @@ class Payment extends Controller $where['order_sn']=$out_trade_no; $where['order_type']=1; $where['pay_type']=2; + $where['pay_status']=1; $data=[ 'trade_no'=>$trade_no @@ -154,6 +155,7 @@ class Payment extends Controller $where['order_sn']=$out_trade_no; $where['order_type']=1;//1 充值 $where['pay_type']=1;//1微信2支付宝 3通联支付宝 4通联微信 + $where['pay_status']=1; $data=[ 'trade_no'=>$transaction_id @@ -209,6 +211,7 @@ class Payment extends Controller $where['order_sn']=$out_trade_no; $where['order_type']=1;//1 充值 $where['pay_type']=$pay_type;//1微信2支付宝 3通联支付宝 4通联微信 + $where['pay_status']=1; $data=[ 'trade_no'=>$trade_no