//商店刷新

back_recharge
zhangshanxue 2020-06-06 05:02:15 +08:00
parent 6c9dfab0cc
commit ff485d97c7
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ public class RechargeInfo extends MongoBase{
}
public boolean addNewSendId(int id){
// cacheSendedIds.remove(-id);
cacheSendedIds.remove(-id);
return cacheSendedIds.add(id);
}

View File

@ -479,7 +479,7 @@ public class BuyGoodsLogic {
continue;
}
if(endTime!=0 && now > endTime){
boolean isNew = rechargeInfo.addNewSendId(goodsId);
boolean isNew = rechargeInfo.addNewSendId(-goodsId);
if(isNew){
needChange = true;
}