zhongrj
2024-01-06 ad0bc4e763fa988a2ec4dd8dfab7381ea7726021
src/main/java/org/springblade/modules/article/controller/ArticleCommentController.java
@@ -59,10 +59,22 @@
   /**
    * 通知评论表 自定义分页
    */
   @GetMapping("/pageWeb")
   @ApiOperationSupport(order = 3)
   @ApiOperation(value = "分页", notes = "传入articleComment")
   public R<IPage<ArticleCommentVO>> pageWeb(ArticleCommentVO articleComment, Query query) {
      IPage<ArticleCommentVO> pages = articleCommentService.selectArticleCommentPage(Condition.getPage(query), articleComment);
      return R.data(pages);
   }
   /**
    * 通知评论表 自定义分页
    */
   @GetMapping("/page")
   @ApiOperationSupport(order = 3)
   @ApiOperation(value = "分页", notes = "传入articleComment")
   public R<IPage<ArticleCommentVO>> page(ArticleCommentVO articleComment, Query query) {
      articleComment.setUserId(AuthUtil.getUserId());
      IPage<ArticleCommentVO> pages = articleCommentService.selectArticleCommentPage(Condition.getPage(query), articleComment);
      return R.data(pages);
   }