|
|
|
@@ -149,7 +149,8 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService { |
|
|
|
WxMall mall = wxMallMapper.getByTenantId(tenantEntity.getTenantId()); |
|
|
|
if (mall.getSaleType().intValue() == 4 ) { |
|
|
|
if (null != type && (type.equals(String.valueOf(EnumCouponType.COUPON_PRESS.getCode().intValue())) |
|
|
|
|| type.equals(String.valueOf(EnumCouponType.COUPON_GROUP.getCode().intValue())))) { |
|
|
|
|| type.equals(String.valueOf(EnumCouponType.COUPON_GROUP.getCode().intValue())) |
|
|
|
|| type.equals(String.valueOf(EnumCouponType.COUPON_PREORDER.getCode().intValue())))) { |
|
|
|
if (null != ids && ids.length > 1) { |
|
|
|
return new ResultData(ErrorCode.COUPON_CHANNEL_IS_EXISTED.getCode(),"该版本【拼团】、【砍价】、【限时抢购】、【预售】线上只能投放一个,请勾选一个。"); |
|
|
|
} |
|
|
|
|