diff --git a/app/controller/api/Coupon.php b/app/controller/api/Coupon.php index 7d85611..0b38906 100644 --- a/app/controller/api/Coupon.php +++ b/app/controller/api/Coupon.php @@ -584,12 +584,12 @@ class Coupon extends Base 'desc' => '验证优惠券签到', ]; //发起支付 - //$result = $payment->transfer->toBalance($toBalanceData); + $result = $payment->transfer->toBalance($toBalanceData); //var_dump($result); //付款成功才提交!!!!!伪装成功 - if(true||isset($result['payment_no']) ){ + if(isset($result['payment_no']) ){ Db::commit(); return $this->json( 0,