From 069ff17c604be311741b73202face2b9e514e3bf Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Wed, 16 Mar 2022 09:47:16 +0800 Subject: [PATCH] setter --- app/controller/api/Coupon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/api/Coupon.php b/app/controller/api/Coupon.php index 02c7082..10181a7 100644 --- a/app/controller/api/Coupon.php +++ b/app/controller/api/Coupon.php @@ -572,7 +572,7 @@ class Coupon extends Base $consumerMoney = round($consumerMoney,2); //四舍五入 精确到分 //开启了分销 覆盖 平台应得金额 和消费者应得金额 并且取消 渠道商打款 - if($coupon->couponMain->is_is_distribution == CouponMain::COMMON_ON){ + if($coupon->couponMain->is_distribution == CouponMain::COMMON_ON){ $disAdminMoney = (($deductionMoney/100) * $coupon->couponMain->commission_dis_admin); //$disDistributionMoney = (($deductionMoney/100) * $coupon->couponMain->commission_dis_distribution); $disDistributedMoney = (($deductionMoney/100) * $coupon->couponMain->commission_dis_distributed);