瀏覽代碼

[消息][修改]:券错误处理

release_toaliyun_real
Stormeye Wu 7 年之前
父節點
當前提交
d95aec3eb5
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. +5
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxGameServiceImpl.java

+ 5
- 1
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());
}
}

// 下架更新


Loading…
取消
儲存