diff --git a/app/controller/api/Coupon.php b/app/controller/api/Coupon.php index 0be74ca..40a90ab 100644 --- a/app/controller/api/Coupon.php +++ b/app/controller/api/Coupon.php @@ -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{