发送礼物新增动态id字段
This commit is contained in:
parent
b413153242
commit
bde2cd9be4
@ -83,6 +83,11 @@ public class GiveAwayGiftBatchEvent implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private Long roomId;
|
private Long roomId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 动态id
|
||||||
|
*/
|
||||||
|
private Long dynamicContentId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 跟踪id.
|
* 跟踪id.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -128,6 +128,7 @@ public class BlessingsGiftGiveCmdExe {
|
|||||||
giveAwayGiftBatchEvent.setQuantity(cmd.getQuantity());
|
giveAwayGiftBatchEvent.setQuantity(cmd.getQuantity());
|
||||||
giveAwayGiftBatchEvent.setGiftConfig(toGiveGiftConfig(giftConfig));
|
giveAwayGiftBatchEvent.setGiftConfig(toGiveGiftConfig(giftConfig));
|
||||||
giveAwayGiftBatchEvent.setRoomId(cmd.getRoomId());
|
giveAwayGiftBatchEvent.setRoomId(cmd.getRoomId());
|
||||||
|
giveAwayGiftBatchEvent.setDynamicContentId(cmd.getDynamicContentId());
|
||||||
giveAwayGiftBatchEvent.setTrackId(trackId);
|
giveAwayGiftBatchEvent.setTrackId(trackId);
|
||||||
giveAwayGiftBatchEvent.setSongId(cmd.getSongId());
|
giveAwayGiftBatchEvent.setSongId(cmd.getSongId());
|
||||||
giveAwayGiftBatchEvent.setCheckBlessingsGift(Boolean.FALSE);
|
giveAwayGiftBatchEvent.setCheckBlessingsGift(Boolean.FALSE);
|
||||||
|
|||||||
@ -49,6 +49,7 @@ public interface GiftAppConvertor {
|
|||||||
.setQuantity(cmd.getQuantity())
|
.setQuantity(cmd.getQuantity())
|
||||||
.setGiftConfig(toGiveGiftConfig(giftConfig))
|
.setGiftConfig(toGiveGiftConfig(giftConfig))
|
||||||
.setRoomId(cmd.getRoomId())
|
.setRoomId(cmd.getRoomId())
|
||||||
|
.setDynamicContentId(cmd.getRoomId())
|
||||||
.setTrackId(trackId)
|
.setTrackId(trackId)
|
||||||
.setSongId(cmd.getSongId())
|
.setSongId(cmd.getSongId())
|
||||||
.setBagGift(Boolean.FALSE)
|
.setBagGift(Boolean.FALSE)
|
||||||
|
|||||||
@ -451,6 +451,7 @@ public class GiveGiftsListener implements MessageListener {
|
|||||||
.processed(Boolean.FALSE)
|
.processed(Boolean.FALSE)
|
||||||
.trackId(event.getTrackId().toString())
|
.trackId(event.getTrackId().toString())
|
||||||
.originId(Objects.nonNull(event.getRoomId()) ? event.getRoomId().toString() : "OTHER")
|
.originId(Objects.nonNull(event.getRoomId()) ? event.getRoomId().toString() : "OTHER")
|
||||||
|
.dynamicContentId(Objects.nonNull(event.getRoomId()) ? event.getRoomId().toString() : null)
|
||||||
.sysOrigin(event.getSysOrigin().name())
|
.sysOrigin(event.getSysOrigin().name())
|
||||||
.requestPlatform(event.getRequestPlatform())
|
.requestPlatform(event.getRequestPlatform())
|
||||||
.userId(event.getSendUserId())
|
.userId(event.getSendUserId())
|
||||||
|
|||||||
@ -59,6 +59,11 @@ public class GiveAwayGiftBatchCmd extends AppExtCommand {
|
|||||||
*/
|
*/
|
||||||
private Long roomId;
|
private Long roomId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 动态id.
|
||||||
|
*/
|
||||||
|
private Long dynamicContentId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 已点歌曲唯一标识ID(不是歌曲配置id而是已点歌曲id).
|
* 已点歌曲唯一标识ID(不是歌曲配置id而是已点歌曲id).
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -47,6 +47,11 @@ public class GiftGiveRunningWater implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private String originId;
|
private String originId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 动态id
|
||||||
|
*/
|
||||||
|
private String dynamicContentId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 来源系统.
|
* 来源系统.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -89,6 +89,7 @@ public class GiftGiveRunningWaterServiceImpl implements GiftGiveRunningWaterServ
|
|||||||
.songId(document.getLong("songId"))
|
.songId(document.getLong("songId"))
|
||||||
.trackId(document.getString("trackId"))
|
.trackId(document.getString("trackId"))
|
||||||
.originId(document.getString("originId"))
|
.originId(document.getString("originId"))
|
||||||
|
.dynamicContentId(document.getString("dynamicContentId"))
|
||||||
.sysOrigin(document.getString("sysOrigin"))
|
.sysOrigin(document.getString("sysOrigin"))
|
||||||
.requestPlatform(document.getString("requestPlatform"))
|
.requestPlatform(document.getString("requestPlatform"))
|
||||||
.userId(document.getLong("userId"))
|
.userId(document.getLong("userId"))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user