|
|
@@ -21,7 +21,7 @@ public class CommentController {
|
|
|
CommentService commentService;
|
|
|
|
|
|
@GetMapping("/{id}")
|
|
|
- public ResultVO<List<String>> getMethodName(@PathVariable(value = "id") Integer id) {
|
|
|
+ public ResultVO<List<String>> getComments(@PathVariable(value = "id") Integer id) {
|
|
|
return ResultVO.buildSuccess(commentService.findComments(id));
|
|
|
}
|
|
|
|