接口文档

接口文档


作品列表

<h5>简要描述</h5> <ul> <li>作品列表</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/author/api/worksList</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> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "code": 200, "message": "ok", "data": [ { "column": { "id": 51, "author_id": 20944, "user_id": 48724, "author_nickname": "ceshi", "category_id": 1, "title": "ceshi的专栏", "description": "sadasdas", "sign_status": 1, "sign_time": 0, "sell_status": 1, "sell_time": 0, "img": "", "cover": "/column/nocover.png", "publicity_img": "/column/nopublicity.png", "visits": 2, "last_article_id": 92, "last_article_time": 1610949443, "article_count": 1, "like_count": 2, "comment_count": 11, "img_number": 0, "word_number": 41215, "yesterday_word_number": 0, "tags": "", "status": 1, "sub_number": 0, "reward_count": 16, "yesterday_reward_count": 0, "reward_number": 5500, "yesterday_reward_number": 0, "rec_number": 0, "yesterday_rec_number": 0, "coll_number": 1, "yesterday_coll_number": 0, "urge_number": 2, "yesterday_urge_number": 0, "month_number": 0, "yesterday_month_number": 0, "create_time": 1610692156, "update_time": 1610949443, "created_at": "2021-01-15 14:29:16", "updated_at": "2021-02-03 11:40:20", "status_name": "正常", "sign_status_name": "已签约", "sell_status_name": "已上架", "apply_sign_count": 0 }, "novel": null }, { "column": null, "novel": { "novel_id": 871, "novel_name": "战国", "author_id": 20944, "novel_status": 1, "novel_sell": 1, "novel_cover": "/upload/images/20200516/20200516160429854767992122.jpg", "novel_wordnumber": 352612, "novel_newcname": "第三方士大夫", "novel_copyright": 1, "novel_createtime": 1589560554, "novel_sign_id": 4, "novel_allcoll": 601, "novel_process": 1, "novel_newcid": 297460, "novel_sex": 1, "type_id": 42, "second_type": 4, "novel_uptime": 1607913913, "status": 0, "ctime": null, "apply_sum": 0, "type_name": "架空历史", "second_type_name": "历史", "novel_process_name": "连载中", "novel_copyright_name": "签约销售", "channel_name": "男频", "sign_name": "已签约", "sell_name": "已上架", "scan_rank_status_name": "" } }, { "column": null, "novel": { "novel_id": 1445, "novel_name": "海南1939", "author_id": 20944, "novel_status": 1, "novel_sell": 1, "novel_cover": "/upload/images/20200517/20200517010330749470724641.jpg", "novel_wordnumber": 1144844, "novel_newcname": "12312", "novel_copyright": 1, "novel_createtime": 1589568696, "novel_sign_id": 4, "novel_allcoll": 5819, "novel_process": 1, "novel_newcid": 297459, "novel_sex": 1, "type_id": 25, "second_type": 7, "novel_uptime": 1607913459, "status": 0, "ctime": null, "apply_sum": 0, "type_name": "幻想战争", "second_type_name": "军事", "novel_process_name": "连载中", "novel_copyright_name": "签约销售", "channel_name": "男频", "sign_name": "已签约", "sell_name": "已上架", "scan_rank_status_name": "" } } ] }</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