文档
测试
POST
{{base}}/home/recommend/v2

响应参数

参数名
类型
描述
必填
error_code
number
示例:0
必填
msg
string
示例:查询成功
必填
data
array
数据列表
必填
id
number
图书ID
必填
fileName
string
书名
必填
cover
string
封面图
必填
title
string
标题
必填
author
string
作者
必填
publisher
string
出版社
必填
bookId
string
暂时返回书名
必填
category
number
分类id
必填
categoryText
string
分类名
必填
language
string
语言
必填
rootFile
string
书籍根路径
必填

说明 / 示例

>i 返回示例 ```json { "error_code": 0, "msg": "查询成功", "data": [ null, { "id": 328, "fileName": "2017_Book_TheMathematicsEducationOfProsp", "cover": "/Education/2017_Book_TheMathematicsEducationOfProsp.jpeg", "title": "The Mathematics Education of Prospective Secondary Teachers Around the World", "author": "Marilyn E. Strutchens, Rongjin Huang, Leticia Losano, Despina Potari, Márcia Cristina de Costa Trindade Cyrino, João Pedro da Ponte and Rose Mary Zbiek", "publisher": "Springer International Publishing, Cham", "bookId": "2017_Book_TheMathematicsEducationOfProsp", "category": 4, "categoryText": "Education", "language": "en", "rootFile": "OEBPS/content.opf" }, { "id": 152, "fileName": "2017_Book_Error-CorrectionCodingAndDecod", "cover": "/Engineering/2017_Book_Error-CorrectionCodingAndDecod.jpeg", "title": "Error-Correction Coding and Decoding", "author": "Martin Tomlinson, Cen Jung Tjhai, Marcel A. Ambroze, Mohammed Ahmed and Mubarak Jibril", "publisher": "Springer International Publishing, Cham", "bookId": "2017_Book_Error-CorrectionCodingAndDecod", "category": 5, "categoryText": "Engineering", "language": "en", "rootFile": "OEBPS/content.opf" }, { "id": 250, "fileName": "2015_Book_NilsPetterGleditschPioneerInTh", "cover": "/Environment/2015_Book_NilsPetterGleditschPioneerInTh.jpeg", "title": "Nils Petter Gleditsch: Pioneer in the Analysis of War and Peace", "author": "Nils Petter Gleditsch", "publisher": "Springer International Publishing, Cham", "bookId": "2015_Book_NilsPetterGleditschPioneerInTh", "category": 6, "categoryText": "Environment", "language": "en", "rootFile": "OEBPS/content.opf" } ] } ```