| | |
| | | /** |
| | | * 通知评论表 自定义分页 |
| | | */ |
| | | @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); |
| | | } |