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