商品空判断

back_recharge
lvxinran 2020-10-21 15:32:49 +08:00
parent fc8401823f
commit 9f2f406561
1 changed files with 1 additions and 1 deletions

View File

@ -788,7 +788,7 @@ public class BuyGoodsLogic {
}
}
} else if (time == 6) {
if (rechargeInfo.getDyGoodsCanBuyTimes().containsKey(sRechargeCommodityConfig.getId())) {
if (rechargeInfo.getDyGoodsCanBuyTimes().containsKey(sRechargeCommodityConfig.getId())&&rechargeInfo.getRefreshBagMap().containsKey(sRechargeCommodityConfig.getId())) {
endTime = rechargeInfo.getRefreshBagMap().get(sRechargeCommodityConfig.getId());
if (now > endTime || rechargeInfo.getDyGoodsCanBuyTimes().get(sRechargeCommodityConfig.getId()) <= 0) {
return new RechargeResult();