lvxinran 2020-01-15 14:41:10 +08:00
commit 6e5642857a
2 changed files with 4 additions and 1 deletions

View File

@ -361,11 +361,14 @@ public class GlobalDataManaager implements IManager {
Integer goodsId = iterator.next();
if(SRechargeCommodityConfig.rechargeCommodityConfigMap.get(goodsId).getDailyUpdate() == 1){
buyGoodsTimes.put(goodsId,0);
update =true;
}
}
if(update){
user.getPlayerInfoManager().getRechargeInfo().clearCacheSendId();
user.getPlayerInfoManager().getRechargeInfo().setBuyGoodsTimes(buyGoodsTimes);
}
}
}

View File

@ -446,7 +446,7 @@ public class PlayerLogic {
if(remainDays<0){
remainDays=0;
}
int sendTims = days-1;
int sendTims = days;
while (sendTims-->0){
if( type == GiftGoodsType.FOUND_ONE || type == GiftGoodsType.FOUND_TWO){
mailReward = ItemUtil.getMailReward(SLuxuryFund.getByFoundIdAndDay(goodsInfo.getKey(),sRechargeCommodityConfig.getContiueDays()-remainDays - sendTims).getreward());