礼包代码优化

mengchengzhen 2021-06-22 10:35:06 +08:00
parent 84ce7b9a1b
commit 0f6bc679c6
1 changed files with 4 additions and 6 deletions

View File

@ -503,12 +503,10 @@ public class BuyGoodsNewLogic {
}else{ }else{
boolean open = true; boolean open = true;
if(System.currentTimeMillis() > bag.getStartTime()){ if(System.currentTimeMillis() > bag.getStartTime()){
if(bag.getType() != RechargeType.timeLimit.getType()){ for(String[] con : bag.getCondition()){
for(String[] con : bag.getCondition()){ if(!judgeOpen(con,user)){
if(!judgeOpen(con,user)){ open = false;
open = false; break;
break;
}
} }
} }
}else { }else {