diff --git a/luoo_comment/src/main/java/com/luoo/comment/controller/CommentController.java b/luoo_comment/src/main/java/com/luoo/comment/controller/CommentController.java index ae88658..31eb020 100644 --- a/luoo_comment/src/main/java/com/luoo/comment/controller/CommentController.java +++ b/luoo_comment/src/main/java/com/luoo/comment/controller/CommentController.java @@ -67,8 +67,8 @@ public class CommentController extends BaseController{ return Result.success(); } - @PutMapping("/thumbup") - public Result thumbup(@RequestParam String userId){ + @GetMapping("/getUserCommentInfo") + public Result getUserCommentInfo(@RequestParam String userId){ CommentThumbupVo userCommentInfo = commentService.getUserCommentInfo(userId); return Result.success(userCommentInfo); }