fix week send time

back_recharge
wangyuan 2019-10-22 10:34:53 +08:00
parent d588467de9
commit 915639672d
1 changed files with 3 additions and 3 deletions

View File

@ -389,13 +389,13 @@ public class PlayerLogic {
time = goodsInfo.getValue();
}
days = TimeUtils.differentDays(lastSendTime * 1000L,time * 1000L);
if(days == 0){
if(days <= 0){
continue;
}
if(days == sRechargeCommodityConfig.getContiueDays()){
remainDays = TimeUtils.differentDays(nowTime * 1000L, goodsInfo.getValue()*1000L)-1;
if(remainDays<0){
days-=1;
}
remainDays = TimeUtils.differentDays(nowTime * 1000L, goodsInfo.getValue()*1000L)-1;
}else{
continue;
}