Merge branch 'master_online_hw' of http://60.1.1.230/backend/jieling_server into master_online_hw

lvxinran 2020-11-12 14:47:52 +08:00
commit 44852b0601
1 changed files with 3 additions and 6 deletions

View File

@ -966,16 +966,13 @@ public class BuyGoodsLogic {
} }
} }
if (sRechargeCommodityConfig.getTime() == 6) { if (sRechargeCommodityConfig.getTime() == 6) {
if (rechargeInfo.getDyGoodsCanBuyTimes().containsKey(sRechargeCommodityConfig.getId())&&rechargeInfo.getRefreshBagMap().containsKey(sRechargeCommodityConfig.getId())) { int dytime = rechargeInfo.getDyGoodsCanBuyTimes().getOrDefault(goodsId,0)-1;
long endTime = rechargeInfo.getRefreshBagMap().get(sRechargeCommodityConfig.getId()); if(dytime <0){
if (now > endTime || rechargeInfo.getDyGoodsCanBuyTimes().get(sRechargeCommodityConfig.getId()) <= 0) {
continue; continue;
} }
} }
} }
}
long startTime=0; long startTime=0;
long endTime=0; long endTime=0;
int dybuytime = 0; int dybuytime = 0;