修改招募秘宝基金问题

DESKTOP-C3M45P4\dengdan 2026-05-10 16:22:01 +08:00
parent 511fb8f41e
commit 7263427cda
1 changed files with 12 additions and 1 deletions

View File

@ -721,7 +721,18 @@ public class BuyGoodsNewLogic {
list.addAll(rechargeInfo.getGmSingleMap().values());
for(AbstractWelfareBag bag : list){
if (bag == null || !bag.isOpen()){
if (bag == null){
continue;
}
//110和111的礼包购买完永久开放
if(bag.getModId() == 110 || bag.getModId()== 111){
if(bag.isBuyBefore()){
if(!bag.isOpen()) {
bag.setOpen(true);
}
}
}
if(!bag.isOpen()){
continue;
}
CommonProto.GiftGoodsInfo giftGoodsInfo = buildGoodsInfo(bag);