漫番


评论列表1

<p><strong>简要描述:</strong> </p> <p>评论列表</p> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://codetest.myfcomic.com/api/comment/article/list</code> <code>http://codetest.myfcomic.com/api/comment/news/list</code> <code>http://codetest.myfcomic.com/api/comment/post/list</code> <code>http://codetest.myfcomic.com/api/comment/comic/list</code></li> </ul> <p><strong>请求方式:</strong> GET</p> <p><strong>参数:</strong> </p> <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;">content_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_index</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>页码 每页默认40条</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code> "code": 1, "msg": "success", "data": { "all_comment_num": 10, "hot_comment": [], "comment_list": [ { "comment_id": 4, "content": "漫评评论adahushoasca3333333", "parent_id": 0, "content_id": 50, "ip": "127.0.0.1", "user_id": 588, "created_at": "2019-01-25 18:48:14", "updated_at": "2019-01-25 18:48:14", "user_del": 2, "verify_status": 2, "reject_reason": "", "type": 0, "like_amount": 2, "avatar": "https://cdnmyfcomicpay.myfcomic.com/avatar/000/00/05/88avatar.jpg@!auto", "user_name": "myf370362333", "user_tag":1 }, }</code></pre> <p><strong>返回参数说明</strong> ?</p> <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;">verify_status</td> <td style="text-align: left;">int</td> <td>审核状态 1已审核 2未审核 3 已驳回</td> </tr> </tbody> </table> <pre><code> "comment_id" 评论id content = 评论内容 "content_id" = 文章作品id "created_at" = 创建时间 ip = "127.0.0.1"; "like_amount" = "&lt;null&gt;"; "parent_id" = 父评论id "reject_reason" = ""; "reply_comment" = 父评论内容; "reply_name" = 父评论发表用户 type = 1; 查看回复类型 0:隐藏掉 1:查看对话 2:查看所有回复 "updated_at" = 1537221695; "user_del" = 用户是否删除 1已删除 2未删除 "user_id" = 用户id "user_name" = 用户昵称 "user_tag" 用户标签 "verify_status" = 审核状态</code></pre> <p><strong>备注</strong> </p>

页面列表

ITEM_HTML