setter
parent
00e33bcb4c
commit
013f8c7ab2
|
@ -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. 写入优惠券流水
|
||||
|
|
Loading…
Reference in New Issue