Merge branch 'master' of http://60.1.1.230/backend/jieling_server
commit
6e5642857a
|
@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue