|
@@ -287,13 +287,13 @@ public class CouponFontServiceImpl implements CouponFontService {
|
|
|
if (!couponIdList.contains(couponId)) {
|
|
if (!couponIdList.contains(couponId)) {
|
|
|
throw BusinessRuntimeException.getInstance("链接未关联该优惠券");
|
|
throw BusinessRuntimeException.getInstance("链接未关联该优惠券");
|
|
|
}
|
|
}
|
|
|
- //优惠券领取状态校验
|
|
|
|
|
- collectCommonCheck(couponId, userId);
|
|
|
|
|
- //领取优惠券
|
|
|
|
|
- receiveCouponUser(couponId, userId, CouponUser.Channel.channel_popularize);
|
|
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
throw BusinessRuntimeException.getInstance("链接未关联该优惠券");
|
|
throw BusinessRuntimeException.getInstance("链接未关联该优惠券");
|
|
|
}
|
|
}
|
|
|
|
|
+ //优惠券领取状态校验
|
|
|
|
|
+ collectCommonCheck(couponId, userId);
|
|
|
|
|
+ //领取优惠券
|
|
|
|
|
+ receiveCouponUser(couponId, userId, CouponUser.Channel.channel_popularize);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|