课时详细
<p><strong>简要描述:</strong> </p>
<ul>
<li>课时详细接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/adm/lesson/{id}</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": 22,
"name": "LiveTest",
"brief": null,
"cover": null,
"deleted_at": null,
"created_at": "2018-11-11 10:26:04",
"type": "live",
"style": "normal",
"tags": [],
"materials": [],
"live_detail": {
"id": 2,
"name": "LiveTest",
"brief": null,
"ref_type": "Lesson",
"ref_id": 22,
"type": "",
"status": "ready",
"vendor": "MTCloud",
"start_at": "2018-11-05",
"end_at": "2018-11-05",
"third_room_id": "193135",
"chair_pwd": "797736",
"assistant_pwd": "873944",
"student_pwd": "478966",
"created_at": "2018-11-11 10:26:20"
},
"live_file": [],
"recommends": [],
"teachers":{
"nickname":"昵称",
"id":"3"
}
},
"message": "操作成功",
"ct": 1541903506
}</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>