评论,回复,删评
This commit is contained in:
@@ -32,9 +32,9 @@ public class CommentController {
|
||||
return commentService.Reply2(comment);
|
||||
}
|
||||
// 删除功能
|
||||
@RequestMapping(method = RequestMethod.POST, value = "/delete_comment")
|
||||
public String Delete(Comment comment){
|
||||
return commentService.Delete(comment);
|
||||
@RequestMapping(method = RequestMethod.GET, value = "/delete_comment")
|
||||
public String Delete(int id){
|
||||
return commentService.Delete(id);
|
||||
}
|
||||
@RequestMapping(method = RequestMethod.GET, value = "/addLikeCount")
|
||||
public String addLikeCount(int id){
|
||||
|
Reference in New Issue
Block a user