From 3710d8c475886df92549cee9c114aed520aab674 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:24:31 +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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/api/controller/Payment.php b/application/api/controller/Payment.php index 5413468..295799a 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 @@ -368,6 +371,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通联微信 //6-西来喜微信,7-西来喜支付宝,8-西来喜QQ钱包,9-西来喜云闪付 + $where['pay_status']=1; $data=[ 'trade_no'=>$trade_no