mirror of
https://github.com/201206030/novel-cloud.git
synced 2025-06-23 21:48:30 +00:00
用户微服务开发完成,支付微服务开发中
This commit is contained in:
@ -42,5 +42,13 @@ public interface BookApi {
|
||||
@GetMapping("api/book/listRank")
|
||||
List<Book> listRank(@RequestParam("type") Byte type, @RequestParam("limit") Integer limit);
|
||||
|
||||
/**
|
||||
* 根据小说ID查询书籍
|
||||
* @param id 小说ID
|
||||
* @return 书籍对象
|
||||
* */
|
||||
@GetMapping("api/book/queryBookById")
|
||||
Book queryBookById(@RequestParam("id") Long id);
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user