接口文档

接口文档


书架(书+分组)

<h5>简要描述</h5> <ul> <li>书架(书+分组)</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/api/getBookshelfListNew</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;">order_type</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>默认1,1按更新时间2按阅读时间</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> <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;">select_novel_ids</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>选中的小说id,1,2,3</td> </tr> <tr> <td style="text-align: left;">is_select</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": { "data": [ { "coll_id": 163132, "coll_module": "novel", "coll_type": "group", "user_id": 48724, "coll_cid": 164, "coll_time": 1602751213, "coll_up": 0, "coll_push": 0, "group_id": 0, "is_update": 0, "is_show": 1, "group_name": "999999", "number": 2, "novel": [ { "coll_cid": 12655, "group_id": 164, "novel_name": "复仇天使Doctor白", "novel_cover": "/upload/images/20200628/20200628153424188879100537.jpg" }, { "coll_cid": 15031, "group_id": 164, "novel_name": "真实传说在都市", "novel_cover": "/upload/images/20200727/20200727142316114489572719.png" } ] }, { "coll_id": 163115, "coll_module": "novel", "coll_type": "shelf", "user_id": 48724, "coll_cid": 11213, "coll_time": 1602326879, "coll_up": 1, "coll_push": 0, "group_id": 0, "is_show": 1, "novel_id": 11213, "novel_name": "潜伏", "novel_cover": "/upload/images/20200623/20200623174116900795277149.jpg", "novel_author": "月影梧桐", "author_id": 2, "novel_newcname": "第三节:关东军生涯(3)", "novel_uptime": 1600347329, "is_popup": 1, "is_read": "true", "chapter_name": "前序", "novel_cid": 110794, "chapter_order": 95, "chapter_ispay": 0, "is_subscribe": 0, "price": 1.89, "fan_exp": 73164, "fan_level_name": "掌门", "fan_level": 9 }, { "coll_id": 106857, "coll_module": "novel", "coll_type": "shelf", "user_id": 48724, "coll_cid": 203, "coll_time": 1597890531, "coll_up": 0, "coll_push": 1, "group_id": 0, "is_show": 1, "novel_id": 203, "novel_name": "可知朝暮", "novel_cover": "/upload/images/20200712/20200712195711440458323713.jpg", "novel_author": "百茶猫", "author_id": 301, "novel_newcname": "第164章 措不及防", "novel_uptime": 1600517991, "is_popup": 1, "is_read": "true", "chapter_name": "第162章 安然无恙", "novel_cid": 240524, "chapter_order": 383, "chapter_ispay": 1, "is_subscribe": 1, "price": 6.47, "fan_exp": 22, "fan_level_name": "见习", "fan_level": 1 } ], "total": 7 } }</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