Commit 2fc74d51 by 段启岩

修复话题动态

parent 990efce3
......@@ -435,6 +435,7 @@ public class TopicServiceImpl extends ServiceImpl<TopicMapper, Topic> implements
PostDTO postDTO = new PostDTO();
BeanUtils.copyProperties(post, postDTO);
postDTO.setFollowedAuthor(followedUserIds.contains(post.getUserId()));
postDTOList.add(postDTO);
});
} else {
posts.forEach(post -> {
......
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