送礼推送添加giftVo
This commit is contained in:
@@ -53,6 +53,8 @@ public class GiftNotifyVo implements Serializable {
|
||||
private Users[] targetUsers;
|
||||
private Long[] targetUids;
|
||||
|
||||
private GiftVo giftVo;//客户端要的
|
||||
|
||||
public Long getRecvUserUid() {
|
||||
return recvUserUid;
|
||||
}
|
||||
@@ -300,4 +302,12 @@ public class GiftNotifyVo implements Serializable {
|
||||
public void setTargetUids(Long[] targetUids) {
|
||||
this.targetUids = targetUids;
|
||||
}
|
||||
|
||||
public GiftVo getGiftVo() {
|
||||
return giftVo;
|
||||
}
|
||||
|
||||
public void setGiftVo(GiftVo giftVo) {
|
||||
this.giftVo = giftVo;
|
||||
}
|
||||
}
|
||||
|
@@ -270,6 +270,7 @@ public class GiftNotifyListener implements ApplicationListener<GiftMessageEvent>
|
||||
GiftNotifyVo giftNotifyVo = new GiftNotifyVo();
|
||||
giftNotifyVo.setGiftId(giftId);
|
||||
giftNotifyVo.setGiftUrl(gift.getPicUrl());
|
||||
giftNotifyVo.setGiftVo(giftService.getGiftVoByGift(gift));
|
||||
giftNotifyVo.setNotifyFull(gift.getNotifyFull());
|
||||
giftNotifyVo.setShowAvatarType(gift.getShowAvatarType());
|
||||
Long sendUserUid = giftMessage.getSendUid();
|
||||
|
Reference in New Issue
Block a user