网页支付礼包逻辑

back_recharge
zhangshanxue 2020-11-04 18:10:18 +08:00
parent 711fa42582
commit 9e9fc2e3c6
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;