v1.3.0发布

This commit is contained in:
xiongxiaoyang
2020-06-07 18:56:43 +08:00
parent 9b8f5a177e
commit 3bc812d777
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}