Commit a750e6d6 authored by 刘基明's avatar 刘基明

转并评论 fix

parent a6240279
...@@ -101,9 +101,9 @@ public class CommentManager { ...@@ -101,9 +101,9 @@ public class CommentManager {
String themeId = themeService.commentSyncForward(req, userId); String themeId = themeService.commentSyncForward(req, userId);
// 消息通知 // 消息通知
ThemeEntity formerTheme = themeService.queryByThemeId(req.getThemeId()); ThemeEntity commentTheme = themeService.queryByThemeId(req.getThemeId());
notificationService.insertForward(userId, formerTheme.getAuthorId(), formerTheme.getThemeId(), "", req.getComment(), themeEntity.getThemeId()); notificationService.insertForward(userId, commentTheme.getAuthorId(), commentTheme.getThemeId(), "", req.getComment(), themeId);
notificationService.putNotifyCache(formerTheme.getAuthorId(), userId, NotificationTypeEnum.FORWARD); notificationService.putNotifyCache(commentTheme.getAuthorId(), userId, NotificationTypeEnum.FORWARD);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment