课程详情
<p><strong>简要描述:</strong> </p>
<ul>
<li>课程详情接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/adm/course/{id}</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>
<p>GET </p>
<p><strong>返回示例</strong></p>
</li>
</ul>
<pre><code>{
"result": "success",
"data": {
"id": 1,
"name": "test",
"cover": "",
"brief": "this is a test",
"created_by": 1,
"updated_by": 1,
"created_at": "2018-06-07 10:21:27",
"updated_at": "2018-06-07 10:21:27",
"deleted_at": null,
"status": "draft",
"tags": [
{
"id": 1,
"name": "test"
}
],
"teachers": [
{
"id": 1,
"name": "王大锤"
}
],
"lessons": [
{
"id": 2,
"name": "TEST",
"cover": null
},
{
"id": 3,
"name": "test",
"cover": ""
}
]
},
"message": "操作成功"
}</code></pre>