linwe
2023-12-25 b738548b942265ec7fc487bdd2017d7d91da26f1
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));
   }