From ecdc5d1802927e0e314bb82f1ffb5183aafecefa Mon Sep 17 00:00:00 2001 From: xiezhijun <15270898033@163.com> Date: Fri, 6 Aug 2021 14:26:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E6=8E=A5=E5=8F=A3=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../custom/service/impl/SysMessageNoticeServiceImpl.java | 6 ++++++ 1 file changed, 6 insertions(+) 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);