讨论区详情
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>课程讨论区一级评论详情接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>study/course_discuss_info</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </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>
<tr>
<td style="text-align: left;">discuss_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>一级评论id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;ok&quot;,
&quot;data&quot;: {
&quot;info&quot;: { //评论详情
&quot;id&quot;: 1, //评论id
&quot;user_id&quot;: 41,
&quot;user_name&quot;: &quot;医班见识&quot;,
&quot;head_img&quot;: &quot;http://wxt-1304049341.cos.ap-nanjing.myqcloud.com/mmexport1635907266018.jpg&quot;,
&quot;course_id&quot;: 88,
&quot;section_id&quot;: 158,
&quot;content&quot;: &quot;啦啦啦啦&quot;,
&quot;images&quot;: [
&quot;https://wxt-1304049341.cos.ap-nanjing.myqcloud.com/1654653194thumb20226895316211.png&quot;,
&quot;https://wxt-1304049341.cos.ap-nanjing.myqcloud.com/1654653194thumb20226895316211.png&quot;,
&quot;https://wxt-1304049341.cos.ap-nanjing.myqcloud.com/1654653194thumb20226895316211.png&quot;
],
&quot;comment_num&quot;: 5,
&quot;like_num&quot;: 0,
&quot;create_time&quot;: 1663313231,
&quot;alike_status&quot;: 0, //是否点赞,1=是,0=否
&quot;section_title&quot;: &quot;来自01 肺泡呼吸音&quot;, //来源章节,为空代表没有
&quot;identity&quot;: 1 //身份1=老师,2=学生
},
&quot;list&quot;: { //评论及回复列表
&quot;count&quot;: 5,
&quot;page&quot;: 1,
&quot;pageSize&quot;: 15,
&quot;list&quot;: [
{
&quot;id&quot;: 2,
&quot;user_id&quot;: 4,
&quot;user_name&quot;: &quot;阿秋&quot;,
&quot;head_img&quot;: &quot;https://wxt-1304049341.cos.ap-nanjing.myqcloud.com/1648111579head_img.png&quot;,
&quot;one_id&quot;: 1,
&quot;two_id&quot;: 0,
&quot;content&quot;: &quot;推推土体&quot;,
&quot;comment_num&quot;: 2,
&quot;like_num&quot;: 0,
&quot;create_time&quot;: 1663313357,
&quot;identity&quot;: 2,
&quot;alike_status&quot;: 0
},
{
&quot;id&quot;: 5,
&quot;user_id&quot;: 4,
&quot;user_name&quot;: &quot;阿秋&quot;,
&quot;head_img&quot;: &quot;https://wxt-1304049341.cos.ap-nanjing.myqcloud.com/1648111579head_img.png&quot;,
&quot;one_id&quot;: 1,
&quot;two_id&quot;: 4,
&quot;content&quot;: &quot;你刚才说错了哇&quot;,
&quot;comment_num&quot;: 1,
&quot;like_num&quot;: 1,
&quot;create_time&quot;: 1663313918,
&quot;identity&quot;: 2,
&quot;alike_status&quot;: 0,
&quot;reply_user_id&quot;: 4, //被回复人id,无此字段代表不存在
&quot;reply_user_name&quot;: &quot;阿秋&quot; //被回复人昵称
}
]
}
}
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>