From 243fa12257634d04656f79f82a2e7871e2ed72ab Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Tue, 8 Feb 2022 10:54:49 +0800 Subject: [PATCH] setter --- app/controller/api/Coupon.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,