|
|
|
@@ -156,7 +156,7 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService { |
|
|
|
record.setType(Integer.parseInt(type)); |
|
|
|
List<WxCouponChannelVo> list = wxCouponChannelMapper.findVoList(record); |
|
|
|
if (null != list && list.size() > 0 ) { |
|
|
|
return new ResultData(ErrorCode.COUPON_CHANNEL_IS_EXISTED,"该版本【拼团】、【砍价】线上只能发布一个。"); |
|
|
|
return new ResultData(ErrorCode.COUPON_CHANNEL_IS_EXISTED.getCode(),"该版本【拼团】、【砍价】线上只能发布一个。"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|