zhongrj
2023-12-23 2bd69d1dca40d2fdf07f72e0117d2f0febde5359
src/main/java/org/springblade/modules/article/service/impl/ArticleCommentServiceImpl.java
@@ -18,6 +18,7 @@
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springblade.core.secure.utils.AuthUtil;
import org.springblade.modules.article.entity.ArticleCommentEntity;
import org.springblade.modules.article.mapper.ArticleCommentMapper;
import org.springblade.modules.article.service.IArticleCommentService;
@@ -35,6 +36,7 @@
   @Override
   public IPage<ArticleCommentVO> selectArticleCommentPage(IPage<ArticleCommentVO> page, ArticleCommentVO noticeComment) {
      noticeComment.setUserId(AuthUtil.getUserId());
      return page.setRecords(baseMapper.selectArticleCommentPage(page, noticeComment));
   }