|
|
@@ -111,8 +111,8 @@ public class WxGameController extends BaseController { |
|
|
return new ResultData(ErrorCode.GAME_NOT_FOUND); |
|
|
return new ResultData(ErrorCode.GAME_NOT_FOUND); |
|
|
} |
|
|
} |
|
|
int playLimit = (int) data.get("playLimit"); |
|
|
int playLimit = (int) data.get("playLimit"); |
|
|
if(playLimit < Constant.limit){ |
|
|
|
|
|
return new ResultData(ErrorCode.GAME_NOT_COUNT); |
|
|
|
|
|
|
|
|
if(playLimit <= Constant.limit){ |
|
|
|
|
|
return new ResultData(ErrorCode.GAME_NOT_COUNT.getCode(),"无免费次数"); |
|
|
} |
|
|
} |
|
|
int AwardLimit = (int) data.get("AwardLimit"); |
|
|
int AwardLimit = (int) data.get("AwardLimit"); |
|
|
int AwardCount = (int) data.get("AwardCount"); |
|
|
int AwardCount = (int) data.get("AwardCount"); |
|
|
|