diff --git a/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysMessageNoticeServiceImpl.java b/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysMessageNoticeServiceImpl.java index 70ef187a3..a4a3434a1 100644 --- a/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysMessageNoticeServiceImpl.java +++ b/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysMessageNoticeServiceImpl.java @@ -215,6 +215,12 @@ public class SysMessageNoticeServiceImpl implements ISysMessageNoticeService { content.put("replyContent", topic.getContent()); //类型:1 评论 2回复 content.put("type", type); + //评论或回复的ID + content.put("id", topic.getId()); + //评论ID + content.put("commentId", topic.getCommentId()); + //回复ID + content.put("replyId", topic.getReplyId()); //topic的内容 content.put("originalContent", originalContent);