百校在线

一款教育软件


获取课时列表

<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> { &amp;quot;code&amp;quot;: 200, &amp;quot;msg&amp;quot;:&amp;quot;获取成功&amp;quot;, &amp;quot;description&amp;quot;: &amp;quot;&amp;quot;,     &amp;quot;data&amp;quot;: {         &amp;quot;hasNextPage&amp;quot;: true,         &amp;quot;total&amp;quot;: 10,         &amp;quot;list&amp;quot;: &amp;quot;data&amp;quot;: [         {             &amp;quot;id&amp;quot;: 118, //课时编号             &amp;quot;name&amp;quot;: &amp;quot;第一节课&amp;quot;, //课时名称             &amp;quot;class_time&amp;quot;: &amp;quot;2024-09-27 09:00:00&amp;quot;, //上课时间             &amp;quot;class_time_month&amp;quot;: &amp;quot;09&amp;quot;,             &amp;quot;class_time_day&amp;quot;: &amp;quot;27&amp;quot;,             &amp;quot;intro&amp;quot;: &amp;quot;1111&amp;quot; //课时简介         },         {             &amp;quot;id&amp;quot;: 119,             &amp;quot;name&amp;quot;: &amp;quot;第二节课&amp;quot;,             &amp;quot;class_time&amp;quot;: &amp;quot;2024-09-28 09:00:00&amp;quot;,             &amp;quot;class_time_month&amp;quot;: &amp;quot;09&amp;quot;,             &amp;quot;class_time_day&amp;quot;: &amp;quot;28&amp;quot;,             &amp;quot;intro&amp;quot;: &amp;quot;AM 09:00&amp;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>

页面列表

ITEM_HTML