接口文档

接口文档


我发布的段落评论

<h5>简要描述</h5> <ul> <li>我发布的段落评论</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/api/myReleaseSegmentComment</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;">page</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>页码</td> </tr> <tr> <td style="text-align: left;">pageSize</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": [ { "id": 32111, "novel_id": 871, "chapter_id": 2496, "segment_id": 4, "form_uid": 48724, "comment_content": "的撒打算", "like_num": 0, "istop": 0, "isbest": 0, "count": 0, "create_time": 1615002479, "novel": { "novel_id": 871, "novel_name": "战国", "novel_cover": "/upload/images/20200516/20200516160429854767992122.jpg", "novel_author": "萧野", "novel_process_name": "", "novel_copyright_name": "", "channel_name": null, "sign_name": "", "sell_name": "", "scan_rank_status_name": "" } }, { "id": 32110, "novel_id": 871, "chapter_id": 1723, "segment_id": 2, "form_uid": 48724, "comment_content": "666666666", "like_num": 0, "istop": 0, "isbest": 0, "count": 0, "create_time": 1614317940, "novel": { "novel_id": 871, "novel_name": "战国", "novel_cover": "/upload/images/20200516/20200516160429854767992122.jpg", "novel_author": "萧野", "novel_process_name": "", "novel_copyright_name": "", "channel_name": null, "sign_name": "", "sell_name": "", "scan_rank_status_name": "" } }, { "id": 32109, "novel_id": 871, "chapter_id": 1723, "segment_id": 2, "form_uid": 48724, "comment_content": "666666666666", "like_num": 0, "istop": 0, "isbest": 0, "count": 0, "create_time": 1614317812, "novel": { "novel_id": 871, "novel_name": "战国", "novel_cover": "/upload/images/20200516/20200516160429854767992122.jpg", "novel_author": "萧野", "novel_process_name": "", "novel_copyright_name": "", "channel_name": null, "sign_name": "", "sell_name": "", "scan_rank_status_name": "" } }, { "id": 32108, "novel_id": 871, "chapter_id": 219588, "segment_id": 4, "form_uid": 48724, "comment_content": "9999999999999", "like_num": 0, "istop": 0, "isbest": 0, "count": 0, "create_time": 1614317788, "novel": { "novel_id": 871, "novel_name": "战国", "novel_cover": "/upload/images/20200516/20200516160429854767992122.jpg", "novel_author": "萧野", "novel_process_name": "", "novel_copyright_name": "", "channel_name": null, "sign_name": "", "sell_name": "", "scan_rank_status_name": "" } }, { "id": 32106, "novel_id": 10904, "chapter_id": 98409, "segment_id": 1, "form_uid": 48724, "comment_content": "四个是是是", "like_num": 0, "istop": 0, "isbest": 0, "count": 0, "create_time": 1611888378, "novel": { "novel_id": 10904, "novel_name": "水天孤鸿", "novel_cover": "/upload/images/20200626/20200626231653361315637268.jpg", "novel_author": "老玉米", "novel_process_name": "", "novel_copyright_name": "", "channel_name": null, "sign_name": "", "sell_name": "", "scan_rank_status_name": "" } }, { "id": 32098, "novel_id": 5578, "chapter_id": 30551, "segment_id": 1, "form_uid": 48724, "comment_content": "2222222222222", "like_num": 0, "istop": 0, "isbest": 0, "count": 2, "create_time": 1611803092, "novel": { "novel_id": 5578, "novel_name": "军阀", "novel_cover": "/upload/images/20200602/20200602104850668756770454.jpg", "novel_author": "caler", "novel_process_name": "", "novel_copyright_name": "", "channel_name": null, "sign_name": "", "sell_name": "", "scan_rank_status_name": "" } }, { "id": 32096, "novel_id": 5578, "chapter_id": 30551, "segment_id": 1, "form_uid": 48724, "comment_content": "1111111111111", "like_num": 1, "istop": 0, "isbest": 0, "count": 2, "create_time": 1611802545, "novel": { "novel_id": 5578, "novel_name": "军阀", "novel_cover": "/upload/images/20200602/20200602104850668756770454.jpg", "novel_author": "caler", "novel_process_name": "", "novel_copyright_name": "", "channel_name": null, "sign_name": "", "sell_name": "", "scan_rank_status_name": "" } }, { "id": 32093, "novel_id": 15956, "chapter_id": 186119, "segment_id": 21, "form_uid": 48724, "comment_content": "萨达萨达", "like_num": 0, "istop": 0, "isbest": 0, "count": 2, "create_time": 1611649091, "novel": { "novel_id": 15956, "novel_name": "说好的灵气复苏呢", "novel_cover": "/upload/images/20200926/20200926131709274900659552.jpg", "novel_author": "棣棣是只喵", "novel_process_name": "", "novel_copyright_name": "", "channel_name": null, "sign_name": "", "sell_name": "", "scan_rank_status_name": "" } }, { "id": 32034, "novel_id": 17304, "chapter_id": 210657, "segment_id": 6, "form_uid": 48724, "comment_content": "44444", "like_num": 0, "istop": 0, "isbest": 0, "count": 0, "create_time": 1605239501, "novel": { "novel_id": 17304, "novel_name": "开局一块全知魔镜", "novel_cover": "/upload/images/20200817/20200817202919514753722590.jpg", "novel_author": "大橘已定", "novel_process_name": "", "novel_copyright_name": "", "channel_name": null, "sign_name": "", "sell_name": "", "scan_rank_status_name": "" } }, { "id": 32033, "novel_id": 17304, "chapter_id": 205621, "segment_id": 13, "form_uid": 48724, "comment_content": "66666", "like_num": 0, "istop": 0, "isbest": 0, "count": 0, "create_time": 1605239481, "novel": { "novel_id": 17304, "novel_name": "开局一块全知魔镜", "novel_cover": "/upload/images/20200817/20200817202919514753722590.jpg", "novel_author": "大橘已定", "novel_process_name": "", "novel_copyright_name": "", "channel_name": null, "sign_name": "", "sell_name": "", "scan_rank_status_name": "" } } ], "total": 66, "current_page": 1, "per_page": 10, "last_page": 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