From 80e2c3331099ed44b8c5f5489caca1530323a22c Mon Sep 17 00:00:00 2001 From: lyp Date: Mon, 29 Jan 2024 21:12:07 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E7=94=A8=E6=88=B7=E8=AF=84=E8=AE=BA?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=20URL=20=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/luoo/comment/controller/CommentController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }