用户微服务开发完成,支付微服务开发中

This commit is contained in:
xiongxiaoyang
2020-05-29 08:24:23 +08:00
parent 861e966a88
commit bcff5f76db
12 changed files with 702 additions and 16 deletions

View File

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