删除多余代码

back_recharge
jiahuiwen 2022-02-15 17:54:42 +08:00
parent e1a5cd8db8
commit 91be761235
1 changed files with 1 additions and 2 deletions

View File

@ -1079,12 +1079,11 @@ public class HeroLogic {
if (sLotteryRewardConfigListByPoolId == null || sLotteryRewardConfigListByPoolId.isEmpty()) {
return null;
}
List<SLotteryRewardConfig> sLotteryRewardConfigListByPoolIds = new ArrayList<>(sLotteryRewardConfigListByPoolId);
long cacheOpenTime = GameApplication.serverConfig.getCacheOpenTime();
long now = TimeUtils.now();
int days = TimeUtils.differentDays(cacheOpenTime, now);
int totalCountByPoolId = 0;
for (SLotteryRewardConfig sLotteryRewardConfig : sLotteryRewardConfigListByPoolIds) {
for (SLotteryRewardConfig sLotteryRewardConfig : sLotteryRewardConfigListByPoolId) {
int[] openRules = sLotteryRewardConfig.getOpenRules();
boolean canAdd = true;
if (openRules != null && openRules.length > 0) {