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