From d95aec3eb513da9bc99faf6b7987a7158254b1fe Mon Sep 17 00:00:00 2001 From: Stormeye Wu Date: Mon, 8 Jul 2019 11:58:16 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=B6=88=E6=81=AF][=E4=BF=AE=E6=94=B9]:?= =?UTF-8?q?=E5=88=B8=E9=94=99=E8=AF=AF=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/iformall/service/impl/WxGameServiceImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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()); + } } // 下架更新