课程详情
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>课程详情信息接口
对比此前生物圈逻辑去除了课表信息,改为单独接口请求</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>course/course_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;">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;id&quot;: 2,
&quot;title&quot;: &quot;录播课(付费带时效信息、试听)&quot;,
&quot;thumb_image&quot;: &quot;https://testview.bioquan.com/lQLPJwl3pq1odcPNAabNAu6wzCNro4-CUhcHsmZ0mx9KAQ_750_422.png&quot;,
&quot;content&quot;: &quot;https://testview.bioquan.com/35414d4de718bfe1b7448945f2dd5b15.png&quot;,
&quot;cate_id&quot;: 2,
&quot;two_cate_id&quot;: 10,
&quot;type&quot;: 2,
&quot;short_detail&quot;: &quot;录播课,付费课,章节信息中存在时效信息;第一讲可以试听&quot;,
&quot;total_section&quot;: 6,
&quot;duration&quot;: 0,
&quot;price&quot;: &quot;9.90&quot;,
&quot;old_price&quot;: &quot;100.00&quot;,
&quot;sign_time&quot;: &quot;&quot;,
&quot;apply_size&quot;: 5,
&quot;is_sign&quot;: 1,
&quot;is_try&quot;: 1,
&quot;build_time&quot;: 1739721600,
&quot;putaway_time&quot;: 1739721600,
&quot;down_time&quot;: 1759248000,
&quot;buy_valid_date&quot;: &quot;永久有效&quot;,
&quot;status&quot;: 1,
&quot;is_secret&quot;: 0,
&quot;secret_key&quot;: &quot;&quot;,
&quot;is_fake&quot;: 0,
&quot;grade&quot;: &quot;0.99&quot;,
&quot;collect_num&quot;: 1,
&quot;share_num&quot;: 0,
&quot;view_num&quot;: 58,
&quot;comment_num&quot;: 2,
&quot;create_time&quot;: 1739721600,
&quot;cate_name&quot;: &quot;高考&quot;,
&quot;two_cate_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>