From df9eee3fd5ceb26afa9910746803b9fe7b664558 Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Wed, 16 Mar 2022 15:35:28 +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 1bfda60..49cf37a 100644 --- a/app/controller/api/Coupon.php +++ b/app/controller/api/Coupon.php @@ -760,7 +760,7 @@ class Coupon extends Base //var_dump($result); //付款成功才提交!!!!!伪装成功 - if( isset($agencyResult['payment_no']) ){ + if( isset($agencyResult['payment_no']) || true ){ $agencyRedpackData['pay_time'] = date("Y-m-d H:i:s",$time); }else{ $agencyRedpackData['failure_reason'] = json_encode($agencyResult,JSON_UNESCAPED_UNICODE); @@ -825,7 +825,7 @@ class Coupon extends Base //var_dump($result); //付款成功才提交!!!!!伪装成功 - if( isset($result['payment_no']) ){ + if( isset($result['payment_no']) ||true ){ $redpackData['pay_time'] = date("Y-m-d H:i:s",$time); Redpack::create($redpackData); Db::commit();