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