From f70cf24474badc0aebdc3b1ecac5c83932082de6 Mon Sep 17 00:00:00 2001 From: xhxu Date: Tue, 5 Jan 2021 18:07:23 +0800 Subject: [PATCH] youxi --- .../java/com/iformall/service/impl/WxGameServiceImpl.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 94f2c3f83..8081bd8b6 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxGameServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxGameServiceImpl.java @@ -190,12 +190,10 @@ public class WxGameServiceImpl implements WxGameService { Map map = new HashMap(); map.put("playLimit",playLimit);//免费次数限制(为0是不限制次数,为-1是不能玩) map.put("playCreditLimit",playCreditLimit);//消耗积分次数限制(为0是不限制次数,为-1是不能玩) - if(playCreditLimit >= 0){ - map.put("playCredit",playCredit);//消耗积分数量 - } + map.put("playCredit",playCredit);//消耗积分数量 map.put("AwardLimit",AwardLimit);//中奖次数限制(为0是不限制次数) - map.put("playCount",playCount);//当前玩的免费次数 - map.put("playCreditCount",playCreditCount);//当前玩的消耗积分次数 + map.put("playCount",playCount);//当前玩的免费de次数 + map.put("playCreditCount",playCreditCount);//当前玩的消耗积分de次数 map.put("AwardCount",AwardCount);//当前中奖次数 boolean playAble = true;