|
@@ -119,5 +119,13 @@ public class BookController {
|
|
return msg;
|
|
return msg;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ApiOperation(value = "图书详情", notes = "图书详情")
|
|
|
|
+ @RequestMapping("/detail")
|
|
|
|
+ @ResponseBody
|
|
|
|
+ public HttpRespMsg detail(Book book){
|
|
|
|
+ HttpRespMsg msg = new HttpRespMsg();
|
|
|
|
+ msg.data = bookService.getById(book.getId());
|
|
|
|
+ return msg;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|