新礼包推送
parent
2cfe67afe4
commit
3a5f1a07aa
|
|
@ -247,7 +247,7 @@ public class BuyGoodsNewLogic {
|
|||
List<CommonProto.GiftGoodsInfo> goodsBagInfo = new ArrayList<>(SRechargeCommodityNewConfig.configMap.size());
|
||||
boolean needChange = getGoodsBagInfo(uid, goodsBagInfo);
|
||||
ISession session = OnlineUserManager.getSessionByUid(uid);
|
||||
if(session!=null && needChange){
|
||||
if(session!=null){
|
||||
PlayerInfoProto.AllGiftGoodsIndication build = PlayerInfoProto.AllGiftGoodsIndication.newBuilder().addAllGiftGoodsInfo(goodsBagInfo).build();
|
||||
MessageUtil.sendIndicationMessage(session,1, MessageTypeProto.MessageType.ALL_GIFTGOODS_INDICATION_VALUE,build,true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue