master
wangxinglong 2022-03-16 15:22:20 +08:00
parent 00e33bcb4c
commit 013f8c7ab2
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ class Coupon extends Base
$deductionAmount = (($couponMain->deduction_money / 100) * $couponMain->commission_dis_distribution);
//是否开启分销 并且有分销人 给分销人发红包
if($couponMain->is_distribution == CouponMain::COMMON_ON && !empty($distributionUserCode))
if($couponMain->business->is_assign == BusinessModel::COMMON_ON && !empty($distributionUserCode))
{
// 2. 写入优惠券流水