获取评论列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取评论列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/api/user/user-comment/comment</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </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;">token</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>类型:1咨询</td>
</tr>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>主键</td>
</tr>
<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>
<p><strong>返回示例</strong></p>
<pre><code>{
"code": 600,
"msg": "获取成功",
"result": {
"count": "4",
"comment": [
{
"id": "10",
"cust_no": "gl00030013",//用户编号
"the_id": "23",
"first_comment_id": "0",
"p_id": "0",
"content": "我来了",//内容
"to_user": "",
"is_show": "1",
"is_real": "1",
"type": "1",
"c_time": "2018-09-03 15:16:42",
"user_name": "xxxxx1213",//用户名称
"user_pic": null,//用户头像
"praise_num": "0",//点赞数
"is_praise": 0//是否点赞
},
{
"id": "9",
"cust_no": "gl00030013",
"the_id": "23",
"first_comment_id": "0",
"p_id": "0",
"content": "我来了",
"to_user": "",
"is_show": "1",
"is_real": "1",
"type": "1",
"c_time": "2018-09-03 15:15:52",
"user_name": "xxxxx1213",
"user_pic": null,
"praise_num": "0",
"is_praise": 0
},
{
"id": "8",
"cust_no": "gl00030013",
"the_id": "23",
"first_comment_id": "0",
"p_id": "0",
"content": "我来了",
"to_user": "",
"is_show": "1",
"is_real": "1",
"type": "1",
"c_time": "2018-09-03 15:15:50",
"user_name": "xxxxx1213",
"user_pic": null,
"praise_num": "0",
"is_praise": 0
},
{
"id": "7",
"cust_no": "gl00030013",
"the_id": "23",
"first_comment_id": "0",
"p_id": "0",
"content": "aaaasd",
"to_user": "",
"is_show": "1",
"is_real": "1",
"type": "1",
"c_time": "2018-09-03 15:15:23",
"user_name": "xxxxx1213",
"user_pic": null,
"praise_num": "0",
"is_praise": 0
}
]
}
}</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>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>