v1.3.0发布

This commit is contained in:
xiongxiaoyang
2020-06-07 18:42:39 +08:00
parent 770cb7dd54
commit 9b8f5a177e
3 changed files with 16 additions and 10 deletions

View File

@ -76,8 +76,9 @@ public class BookApi {
* @param comment 评论数据
* */
@PostMapping("addBookComment")
void addBookComment(Long userId, BookComment comment){
boolean addBookComment(Long userId, BookComment comment){
bookService.addBookComment(userId,comment);
return true;
}
/**
@ -110,8 +111,9 @@ public class BookApi {
* @param bookId 小说ID
*/
@PostMapping("updateBookPic")
void updateBookPic(@RequestParam("picUrl") String picUrl,@RequestParam("bookId") Long bookId){
boolean updateBookPic(@RequestParam("picUrl") String picUrl,@RequestParam("bookId") Long bookId){
bookService.updateBookPic(picUrl,bookId);
return true;
}
}