礼包修改

back_recharge
lvxinran 2020-08-21 18:46:49 +08:00
parent f7b77d668a
commit e9fe5e2992
1 changed files with 7 additions and 5 deletions

View File

@ -509,11 +509,13 @@ public class BuyGoodsLogic {
continue;
}
startTime = levelBagMap.get(value);
int diffHour = (int)((now-startTime)/3600/1000);
if(diffHour>=value){
continue;
}
endTime = startTime + value*3600*1000;
endTime = startTime+sRechargeCommodityConfig.getDailyUpdate()*TimeUtils.ONE_DAY;
//TODO 懵逼?
// int diffHour = (int)((now-startTime)/3600/1000);
// if(diffHour>=value){
// continue;
// }
// endTime = startTime + value*3600*1000;
}
//等级礼包
if(type==3){