|
|
@@ -69,16 +69,6 @@ public class CommentController {
|
|
|
commentService.unTopComment(user, commentId);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- *
|
|
|
- */
|
|
|
- @Auth(roles = {UserType.TEACHER, UserType.STUDENT}, message = "获取评论")
|
|
|
- @GetMapping("/slide/{slideId}/all")
|
|
|
- public PageResponse<CommentVO> getAllComments(@PathVariable Long slideId,
|
|
|
- @PageableDefault(Integer.MAX_VALUE) Pageable pageable) {
|
|
|
- return PageResponse.of(commentService.getCommentsBySlide(slideId, pageable));
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* 取得某一页的评论信息
|
|
|
*/
|