mirror of
https://github.com/201206030/novel-cloud.git
synced 2025-06-24 14:06:39 +00:00
v1.3.0发布
This commit is contained in:
@ -76,7 +76,7 @@ public class BookApi {
|
||||
* @param comment 评论数据
|
||||
* */
|
||||
@PostMapping("addBookComment")
|
||||
boolean addBookComment(Long userId, BookComment comment){
|
||||
boolean addBookComment(@RequestParam("userId") Long userId, @RequestBody BookComment comment){
|
||||
bookService.addBookComment(userId,comment);
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user