课程播放列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>课程播放列表接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/cli/course/{id}/lessons/playlist</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;">id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>课程ID</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"result": "success",
"data": [
{
"id": 2362,
"name": "第一课《勤奋自学成大器》",
"has_quiz": 0,
"sort": 1
},
{
"id": 2363,
"name": "第二课《鲁迅与时间》",
"has_quiz": 0,
"sort": 2
},
{
"id": 2364,
"name": "第三课《失去的一天》",
"has_quiz": 0,
"sort": 3
},
{
"id": 2365,
"name": "古诗诵读《长歌行(节选)》和《元日》",
"has_quiz": 0,
"sort": 4
},
{
"id": 2366,
"name": "第四课《找到“神奇子弹”的人》",
"has_quiz": 0,
"sort": 5
},
{
"id": 2367,
"name": "第五课《科学奇才霍金》",
"has_quiz": 0,
"sort": 6
},
{
"id": 2368,
"name": "第六课《火烧云》",
"has_quiz": 0,
"sort": 7
},
{
"id": 2369,
"name": "第八课《荷兰的花》",
"has_quiz": 0,
"sort": 8
},
{
"id": 2370,
"name": "古诗诵读《渔歌子》《早春呈水部十八员外》",
"has_quiz": 0,
"sort": 9
},
{
"id": 2371,
"name": "第九课《叙利亚的卖水人》",
"has_quiz": 0,
"sort": 10
},
{
"id": 2372,
"name": "第十课《冰城》",
"has_quiz": 0,
"sort": 11
},
{
"id": 2373,
"name": "第十一课《慈母情深》",
"has_quiz": 0,
"sort": 12
},
{
"id": 2374,
"name": "第十二课《母亲的鼓励》",
"has_quiz": 0,
"sort": 13
},
{
"id": 2375,
"name": "第十三课《科林的圣诞蜡烛》",
"has_quiz": 0,
"sort": 14
},
{
"id": 2376,
"name": "古诗诵读《寒食》和《峨眉山月歌》",
"has_quiz": 0,
"sort": 15
},
{
"id": 2377,
"name": "第十四课《穷人》",
"has_quiz": 0,
"sort": 16
},
{
"id": 2378,
"name": "第十五课《生命的药方》",
"has_quiz": 0,
"sort": 17
},
{
"id": 2379,
"name": "第十六课《长江之歌》",
"has_quiz": 0,
"sort": 18
},
{
"id": 2380,
"name": "第十七课《登泰山观日出》",
"has_quiz": 0,
"sort": 19
},
{
"id": 2381,
"name": "第十八课《别了,我爱的中国》",
"has_quiz": 0,
"sort": 20
},
{
"id": 2382,
"name": "古诗诵读《宿新市徐公店》和《题临安邸》",
"has_quiz": 0,
"sort": 21
},
{
"id": 2383,
"name": "第十九课《半截蜡烛》",
"has_quiz": 0,
"sort": 22
},
{
"id": 2384,
"name": "第二十课《梦圆九天》",
"has_quiz": 0,
"sort": 23
},
{
"id": 2385,
"name": "第二十一课《养花》",
"has_quiz": 0,
"sort": 24
},
{
"id": 2386,
"name": "第二十二课《信任》",
"has_quiz": 0,
"sort": 25
},
{
"id": 2387,
"name": "第二十三课《享受心安理得》",
"has_quiz": 0,
"sort": 26
},
{
"id": 2388,
"name": "古诗诵读《钱塘湖春行》和《泊船瓜洲》",
"has_quiz": 0,
"sort": 27
},
{
"id": 2389,
"name": "第二十四课《宽容》",
"has_quiz": 0,
"sort": 28
},
{
"id": 2390,
"name": "第二十五课《轻点关门》",
"has_quiz": 0,
"sort": 29
},
{
"id": 2391,
"name": "第二十七课《鲍叔牙真心待友》",
"has_quiz": 0,
"sort": 30
},
{
"id": 2392,
"name": "第二十八课《唯一的听众》",
"has_quiz": 0,
"sort": 31
},
{
"id": 2393,
"name": "古诗诵读两首",
"has_quiz": 0,
"sort": 32
},
{
"id": 2394,
"name": "第二十九课《莫泊桑拜师》",
"has_quiz": 0,
"sort": 33
},
{
"id": 2395,
"name": "第三十课《语言大师》",
"has_quiz": 0,
"sort": 34
},
{
"id": 2396,
"name": "第三十一课《革命烈士诗二首》",
"has_quiz": 0,
"sort": 35
},
{
"id": 2397,
"name": "第三十二课《奴隶英雄》",
"has_quiz": 0,
"sort": 36
},
{
"id": 2398,
"name": "古诗诵读《晚春》和《游山西村(节选)》",
"has_quiz": 0,
"sort": 37
},
{
"id": 2399,
"name": "第三十四课《一曲胡笳救孤城》",
"has_quiz": 0,
"sort": 38
},
{
"id": 2400,
"name": "第三十五课《六个孩子的故事》",
"has_quiz": 0,
"sort": 39
},
{
"id": 2401,
"name": "第三十六课《母校》",
"has_quiz": 0,
"sort": 40
},
{
"id": 2402,
"name": "第三十七课《童年的发现》",
"has_quiz": 0,
"sort": 41
},
{
"id": 2403,
"name": "第三十八课《天窗》",
"has_quiz": 0,
"sort": 42
},
{
"id": 2404,
"name": "古诗诵读《竹枝词(其一)》和《己亥杂诗》",
"has_quiz": 0,
"sort": 43
},
{
"id": 2405,
"name": "第三十九课《人生的开关》",
"has_quiz": 0,
"sort": 44
},
{
"id": 2406,
"name": "第四十课《跨越新纪录》",
"has_quiz": 0,
"sort": 45
}
],
"message": "操作成功",
"ct": 1534920768
}</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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>