接口文档

接口文档


书架分组中的小说列表

<h5>简要描述</h5> <ul> <li>书架分组中的小说列表</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/api/groupNovelList</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET </li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">group_id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>分组id</td> </tr> <tr> <td style="text-align: left;">pageSize</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>显示多少条,默认20</td> </tr> <tr> <td style="text-align: left;">page</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>页码</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "code": 200, "message": "ok", "data": { "current_page": 1, "data": [ { "novel_id": 6678, "author_id": 11630, "novel_name": "李唐王朝变轨纪", "novel_cover": "/upload/images/20200613/20200613160443605619176852.jpg", "novel_author": "缘分天注定", "novel_newcname": "第三十三章 文明程度", "novel_uptime": 1596977882, "second_type": 4, "type_name": "架空历史", "second_typename": "历史", "coll_up": 0, "user_finance_level": 4, "is_popup": 1, "fan_exp": 0, "fan_level_name": "暂无", "fan_level": 0, "novel_cid": 88356, "chapter_order": 46, "is_read": false, "chapter_ispay": null, "is_subscribe": 0, "chapter_name": null, "price": "0.00", "chapter_uptime": 0 }, { "novel_id": 738, "author_id": 1439, "novel_name": "末世之暴君帝国", "novel_cover": "/upload/images/20200520/20200520024147434465170737.png", "novel_author": "黑灰色铅笔", "novel_newcname": "第二十九章 换战场", "novel_uptime": 1596966330, "second_type": 5, "type_name": "末世异能", "second_typename": "科幻", "coll_up": 0, "user_finance_level": 4, "is_popup": 1, "fan_exp": 0, "fan_level_name": "暂无", "fan_level": 0, "novel_cid": 2026, "chapter_order": 48, "is_read": true, "chapter_ispay": 0, "is_subscribe": 0, "chapter_name": "必看,看完再食用本书快感翻倍!", "price": "3.52", "chapter_uptime": 0 } ], "first_page_url": "http://www.newread.com/api/groupNovelList?page=1", "from": 1, "last_page": 1, "last_page_url": "http://www.newread.com/api/groupNovelList?page=1", "next_page_url": null, "path": "http://www.newread.com/api/groupNovelList", "per_page": 20, "prev_page_url": null, "to": 2, "total": 2 } }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML