mirror of
https://github.com/201206030/novel-cloud.git
synced 2025-06-23 21:48:30 +00:00
集成阿里云OSS,增加文件微服务
This commit is contained in:
@ -70,4 +70,23 @@ public interface BookApi {
|
||||
* */
|
||||
@GetMapping("api/book/listUserCommentByPage")
|
||||
List<BookComment> listUserCommentByPage(@RequestParam("userId") Long userId,@RequestParam("page") int page, @RequestParam("pageSize") int pageSize);
|
||||
|
||||
/**
|
||||
* 查询网络图片的小说
|
||||
*
|
||||
* @param localPicPrefix
|
||||
* @param limit 查询条数
|
||||
* @return 返回小说集合
|
||||
* */
|
||||
@GetMapping("api/book/queryNetworkPicBooks")
|
||||
List<Book> queryNetworkPicBooks(@RequestParam("localPicPrefix") String localPicPrefix,@RequestParam("limit") int limit);
|
||||
|
||||
|
||||
/**
|
||||
* 更新图片路径
|
||||
* @param picUrl 图片路径
|
||||
* @param bookId 小说ID
|
||||
*/
|
||||
@PostMapping("api/book/updateBookPic")
|
||||
void updateBookPic(@RequestParam("picUrl") String picUrl,@RequestParam("bookId") Long bookId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user