master
wangxinglong 2022-03-16 14:58:55 +08:00
parent d12c1da778
commit 25f63a84ba
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ class Coupon extends Base
"is_verificated" => couponMain::COMMON_OFF,//是否验证
];
//如果商家指派了渠道商 分销人重新定义为空
if ($couponMain->business->is_agency == BusinessModel::COMMON_ON){
if ($couponMain->business->is_assign == BusinessModel::COMMON_ON){
$data["is_distribution_coupon"] = couponMain::COMMON_OFF;//是否是分销优惠券
$data["distribution_user_code"] = '';//分销人user_code
}else{