接口文档

接口文档


小说书签列表

<h5>简要描述</h5> <ul> <li>小说书签列表</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/api/novelMarkList</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;">novel_id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>小说id</td> </tr> <tr> <td style="text-align: left;">page</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>默认1</td> </tr> <tr> <td style="text-align: left;">pageSize</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>默认10</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "code": 200, "message": "ok", "data": { "data": [ { "id": 6, "user_id": 48724, "novel_id": 1463, "chapter_id": 15350, "segment_id": 13, "word_id": 0, "create_time": 1610352045, "created_at": "2021-01-11 16:00:45", "updated_at": "2021-01-11 16:00:45", "chapter": { "chapter_id": 15350, "chapter_status": 1, "chapter_islogin": 0, "chapter_isvip": 0, "chapter_ispay": 0, "chapter_istxt": 2, "chapter_number": 2343, "chapter_name": "第一章 唐华的意外之旅", "chapter_nid": 1463, "chapter_vid": 2602, "chapter_cid": 171770, "chapter_order": 120, "chapter_path": "", "chapter_time": 1589704616, "chapter_uptime": 0, "subscribe_number": 0 } }, { "id": 5, "user_id": 48724, "novel_id": 1463, "chapter_id": 15350, "segment_id": 7, "word_id": 0, "create_time": 1610351976, "created_at": "2021-01-11 15:59:36", "updated_at": "2021-01-11 15:59:36", "chapter": { "chapter_id": 15350, "chapter_status": 1, "chapter_islogin": 0, "chapter_isvip": 0, "chapter_ispay": 0, "chapter_istxt": 2, "chapter_number": 2343, "chapter_name": "第一章 唐华的意外之旅", "chapter_nid": 1463, "chapter_vid": 2602, "chapter_cid": 171770, "chapter_order": 120, "chapter_path": "", "chapter_time": 1589704616, "chapter_uptime": 0, "subscribe_number": 0 } }, { "id": 4, "user_id": 48724, "novel_id": 1463, "chapter_id": 15350, "segment_id": 9, "word_id": 0, "create_time": 1610351206, "created_at": "2021-01-11 15:46:46", "updated_at": "2021-01-11 15:46:46", "chapter": { "chapter_id": 15350, "chapter_status": 1, "chapter_islogin": 0, "chapter_isvip": 0, "chapter_ispay": 0, "chapter_istxt": 2, "chapter_number": 2343, "chapter_name": "第一章 唐华的意外之旅", "chapter_nid": 1463, "chapter_vid": 2602, "chapter_cid": 171770, "chapter_order": 120, "chapter_path": "", "chapter_time": 1589704616, "chapter_uptime": 0, "subscribe_number": 0 } }, { "id": 3, "user_id": 48724, "novel_id": 1463, "chapter_id": 15350, "segment_id": 6, "word_id": 0, "create_time": 1610351138, "created_at": "2021-01-11 15:45:38", "updated_at": "2021-01-11 15:45:38", "chapter": { "chapter_id": 15350, "chapter_status": 1, "chapter_islogin": 0, "chapter_isvip": 0, "chapter_ispay": 0, "chapter_istxt": 2, "chapter_number": 2343, "chapter_name": "第一章 唐华的意外之旅", "chapter_nid": 1463, "chapter_vid": 2602, "chapter_cid": 171770, "chapter_order": 120, "chapter_path": "", "chapter_time": 1589704616, "chapter_uptime": 0, "subscribe_number": 0 } } ], "total": 4, "current_page": 1, "per_page": 10, "last_page": 1 } }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML