网页支付,青龙秘宝
parent
839e2a6fac
commit
d4fbda936b
|
|
@ -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){
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue