diff --git a/mallinkService/src/main/java/com/iformall/domain/vo/WxCouponChannelVo.java b/mallinkService/src/main/java/com/iformall/domain/vo/WxCouponChannelVo.java index 0b787d7c5..76192daef 100644 --- a/mallinkService/src/main/java/com/iformall/domain/vo/WxCouponChannelVo.java +++ b/mallinkService/src/main/java/com/iformall/domain/vo/WxCouponChannelVo.java @@ -71,6 +71,18 @@ public class WxCouponChannelVo extends WxCouponChannel implements Serializable { @io.swagger.annotations.ApiModelProperty(value="1.主动领取2.定向投放",name="sendType") private Integer sendType; + + @Transient + private Integer gameWeight; + + public Integer getGameWeight() { + return gameWeight; + } + + public void setGameWeight(Integer gameWeight) { + this.gameWeight = gameWeight; + } + public Integer getInventory() { return inventory; } 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 ffbafb15c..ad4bf393f 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxGameServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxGameServiceImpl.java @@ -103,6 +103,7 @@ public class WxGameServiceImpl implements WxGameService { WxCouponChannelVo couponChannelVo = wxCouponChannelsMap.get(couponId); if (couponChannelVo != null) { + couponChannelVo.setGameWeight(couponChanObj.getInteger("weight")); couponIdsList.add(couponChannelVo); } }