查看评论串
<p><strong>简要描述:</strong> </p>
<ul>
<li>查看评论串</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>mfback.php/community/comment/detail</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>Get </li>
</ul>
<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;">comment_type</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>1文章 3新闻 7帖子</td>
</tr>
<tr>
<td style="text-align: left;">comment_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;">content_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>作品id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code": 0,
"msg": "success",
"data": [],
"list": {
"0": {
"comment_id": 62,
"content": "滴滴滴滴a3",
"parent_id": 61,
"content_id": 260,
"ip": "127.0.0.1",
"user_id": 2,
"created_at": "2018-09-06 08:48:54",
"updated_at": "2018-09-06 08:48:54",
"user_del": 2,
"verify_status": 2,
"reject_reason": "",
"user_name":"totoo",
"reply_name": ''11234556
},</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>
</tbody>
</table>
<pre><code> "comment_id": 评论id
"content": 评论内容,
"parent_id": 父评论id,
"content_id": 分类作品id,
"ip": "127.0.0.1",
"user_id": 2,
"created_at": "2018-09-06 08:48:54",
"updated_at": "2018-09-06 08:48:54",
"user_del": 用户是否删除,
"verify_status": 审核状态,
"reject_reason": 驳回原因,
"user_name":发表评论的用户名,
"reply_name": 回复评论的用户名</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>