简要描述:
- 获取书籍列表
请求域名:
- http://xx.com
请求URL:
POST/route=plugin.audio-book.frontend.book.get-list
参数:
新增参数 | 是否必须 | 类型 | 说明 |
---|
返回示例:
正确时返回:
{
"result": 1,
"msg": "success",
"data": {
"data": {
"current_page": 1,
"data": [
{
"book_title": "标题1",//书籍标题
//主图
"image_url": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/25/2021/12/fa31cff0f6dee833a4deb4e8b105d592.jpg",
"audio_count": 2//音频数
},
{
"book_title": "水浒传",
"image_url": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/a3e29136c6a08a29f25f6100df5d4111.jpg",
"audio_count": 7
}
],
"first_page_url": "http://dev.yz/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://dev.yz/addons/yun_shop/api.php?page=1",
"next_page_url": null,
"path": "http://dev.yz/addons/yun_shop/api.php",
"per_page": 15,
"prev_page_url": null,
"to": 2,
"total": 2
}
}
}
错误时返回:
{
"result": 0,
"msg": "插件未开启",
"data": []
}