Browse Source

[游戏][修复]:权重字段添加

release_toaliyun_real
hupeng 7 years ago
parent
commit
87e919aaef
2 changed files with 13 additions and 0 deletions
  1. +12
    -0
      mallinkService/src/main/java/com/iformall/domain/vo/WxCouponChannelVo.java
  2. +1
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxGameServiceImpl.java

+ 12
- 0
mallinkService/src/main/java/com/iformall/domain/vo/WxCouponChannelVo.java View File

@@ -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;
}


+ 1
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxGameServiceImpl.java View File

@@ -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);
}
}


Loading…
Cancel
Save