获取课时列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取课时列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/Course/GetCourseTimeList</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;">course_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_current</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>当前页 默认1</td>
</tr>
<tr>
<td style="text-align: left;">page_size</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>每页条数 默认5</td>
</tr>
</tbody>
</table>
<p><strong>header:</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;">access_token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>验签token</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;code&quot;: 200,
&quot;msg&quot;:&quot;获取成功&quot;,
&quot;description&quot;: &quot;&quot;,
&quot;data&quot;: {
&quot;hasNextPage&quot;: true,
&quot;total&quot;: 10,
&quot;list&quot;: &quot;data&quot;: [
{
&quot;id&quot;: 118, //课时编号
&quot;name&quot;: &quot;第一节课&quot;, //课时名称
&quot;class_time&quot;: &quot;2024-09-27 09:00:00&quot;, //上课时间
&quot;class_time_month&quot;: &quot;09&quot;,
&quot;class_time_day&quot;: &quot;27&quot;,
&quot;intro&quot;: &quot;1111&quot; //课时简介
},
{
&quot;id&quot;: 119,
&quot;name&quot;: &quot;第二节课&quot;,
&quot;class_time&quot;: &quot;2024-09-28 09:00:00&quot;,
&quot;class_time_month&quot;: &quot;09&quot;,
&quot;class_time_day&quot;: &quot;28&quot;,
&quot;intro&quot;: &quot;AM 09:00&quot;
}
]
}
}</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;">code</td>
<td style="text-align: left;">int</td>
<td>200成功 其它失败</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>