接口文档

接口文档


我发布的小说评论

<h5>简要描述</h5> <ul> <li>我发布的小说评论</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/api/myReleaseNovelComment</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": 30014, "novel_id": 871, "form_uid": 48724, "comment_content": "该内容已被用户自行删除", "img": "", "like_num": 0, "istop": 0, "isbest": 0, "count": 0, "last_reply_user_id": 48724, "last_reply_id": 9097, "last_reply_time": 1619504156, "is_delete": 1, "create_time": 1619503537, "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": 30007, "novel_id": 871, "form_uid": 48724, "comment_content": "大萨达萨达萨达大萨达萨达阿萨德阿萨德", "img": "", "like_num": 0, "istop": 0, "isbest": 0, "count": 0, "last_reply_user_id": 0, "last_reply_id": 0, "last_reply_time": 1618901472, "is_delete": 0, "create_time": 1618901472, "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": 30006, "novel_id": 871, "form_uid": 48724, "comment_content": "大萨达萨达萨达大萨达萨达阿萨德阿萨德", "img": "", "like_num": 0, "istop": 0, "isbest": 0, "count": 0, "last_reply_user_id": 0, "last_reply_id": 0, "last_reply_time": 1618901469, "is_delete": 0, "create_time": 1618901469, "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": 30005, "novel_id": 871, "form_uid": 48724, "comment_content": "大萨达萨达萨达大萨达萨达阿萨德阿萨德", "img": "", "like_num": 0, "istop": 0, "isbest": 0, "count": 0, "last_reply_user_id": 0, "last_reply_id": 0, "last_reply_time": 1618901467, "is_delete": 0, "create_time": 1618901467, "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": 30004, "novel_id": 871, "form_uid": 48724, "comment_content": "大萨达萨达萨达大萨达萨达阿萨德阿萨德", "img": "", "like_num": 0, "istop": 0, "isbest": 0, "count": 0, "last_reply_user_id": 0, "last_reply_id": 0, "last_reply_time": 1618901464, "is_delete": 0, "create_time": 1618901464, "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": 30002, "novel_id": 871, "form_uid": 48724, "comment_content": "新的评论接口测试哈哈哈哈哈哈哈哈哈哈哈哈", "img": "", "like_num": 0, "istop": 0, "isbest": 0, "count": 8, "last_reply_user_id": 48724, "last_reply_id": 9091, "last_reply_time": 1618884369, "is_delete": 0, "create_time": 1618826547, "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": 30001, "novel_id": 871, "form_uid": 48724, "comment_content": "该内容已被用户自行删除", "img": "", "like_num": 0, "istop": 0, "isbest": 0, "count": 11, "last_reply_user_id": 48724, "last_reply_id": 9080, "last_reply_time": 1618819163, "is_delete": 1, "create_time": 1618810372, "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": 29999, "novel_id": 871, "form_uid": 48724, "comment_content": "新的评论接口测试哈哈哈哈哈哈哈2", "img": "/upload/images/20200516/20200516084013509136172690.jpg,/upload/images/20200516/20200516095507387703356077.jpg,/upload/images/20200516/20200516010141415436932944.jpg", "like_num": 0, "istop": 0, "isbest": 0, "count": 0, "last_reply_user_id": 0, "last_reply_id": 0, "last_reply_time": 1618809976, "is_delete": 0, "create_time": 1618809976, "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": 29998, "novel_id": 871, "form_uid": 48724, "comment_content": "新的评论接口测试哈哈哈哈哈哈哈1", "img": "", "like_num": 0, "istop": 0, "isbest": 0, "count": 0, "last_reply_user_id": 0, "last_reply_id": 0, "last_reply_time": 1618809954, "is_delete": 0, "create_time": 1618809954, "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": 29997, "novel_id": 871, "form_uid": 48724, "comment_content": "萨达萨达萨达萨达大萨达是的撒打算", "img": "", "like_num": 0, "istop": 0, "isbest": 0, "count": 0, "last_reply_user_id": 0, "last_reply_id": 0, "last_reply_time": 1618809923, "is_delete": 0, "create_time": 1618809923, "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": "" } } ], "total": 36, "current_page": 1, "per_page": 10, "last_page": 4 } }</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