关联书

This commit is contained in:
wangjinlei
2024-01-04 13:41:00 +08:00
parent 812ee419ba
commit a2f023451f

View File

@@ -284,6 +284,7 @@ public class BookController {
* 获取全部古籍书 * 获取全部古籍书
* @return * @return
*/ */
@RequestMapping("/getAncientBooks")
public R getAncientBooks(){ public R getAncientBooks(){
List<BookEntity> ancientBooks = bookService.getAncientBooks(); List<BookEntity> ancientBooks = bookService.getAncientBooks();
return R.ok().put("books",ancientBooks); return R.ok().put("books",ancientBooks);