网页支付,青龙秘宝

back_recharge
duhui 2021-08-27 14:44:44 +08:00
parent 839e2a6fac
commit d4fbda936b
2 changed files with 1 additions and 7 deletions

View File

@ -48,6 +48,7 @@ public class TreasureActivity extends AbstractActivity {
if(user.getPlayerInfoManager().getHadBuyTreasure() == 1){
LOGGER.info("[青龙秘宝初始化] [重置秘宝解锁状态] [uid:{}]",user.getId());
user.getPlayerInfoManager().setHadBuyTreasure(0);
int id=0;
for(SRechargeCommodityNewConfig sRechargeCommodityConfig : SRechargeCommodityNewConfig.configMap.values()){
if(sRechargeCommodityConfig.getType() == GiftGoodsType.SUN_LONG){

View File

@ -646,13 +646,6 @@ public class BuyGoodsNewLogic {
welfareBags.addAll(rechargeInfo.getReceiveMap().values());
welfareBags.addAll(rechargeInfo.getPushMap().values());
for (AbstractWelfareBag bag : welfareBags) {
SRechargeCommodityNewConfig newConfig = configMap.get(bag.getModId());
// 青龙战令特殊处理
if (newConfig != null && newConfig.getType() == 11){
if (user.getPlayerInfoManager().getHadBuyTreasure() == 0){
list.add(bag.getModId());
}
}
if(bag.isOpen()){
if (bag.getLimit() == 0 || bag.getLimit() > bag.getBuyTimes()){
list.add(bag.getModId());