From 4d8c6bb090725a0e4a80711fc292029428f6ec32 Mon Sep 17 00:00:00 2001 From: xiaohanzi Date: Thu, 26 Nov 2020 18:04:32 +0800 Subject: [PATCH] fix bug --- .../com/iformall/service/impl/WxCouponChannelServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java index 9a91d71df..e6fbd7044 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java @@ -156,7 +156,7 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService { record.setType(Integer.parseInt(type)); List 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(),"该版本【拼团】、【砍价】线上只能发布一个。"); } } }