diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxGameServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxGameServiceImpl.java index d21c7111b..be7e1426c 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxGameServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxGameServiceImpl.java @@ -253,7 +253,11 @@ public class WxGameServiceImpl implements WxGameService { JSONObject obj = (JSONObject)couponIds.get(i); Long couponId = obj.getLong("couponId"); int weight = obj.getIntValue("weight"); - saveOrUpdateCouponChannel(couponId, wxCouponChannelsMap, record); + try { + saveOrUpdateCouponChannel(couponId, wxCouponChannelsMap, record); + } catch (MallinkException e) { + logger.error(e.getMessage()); + } } // 下架更新