礼包代码优化

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{
boolean open = true;
if(System.currentTimeMillis() > bag.getStartTime()){
if(bag.getType() != RechargeType.timeLimit.getType()){
for(String[] con : bag.getCondition()){
if(!judgeOpen(con,user)){
open = false;
break;
}
for(String[] con : bag.getCondition()){
if(!judgeOpen(con,user)){
open = false;
break;
}
}
}else {