课时列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>课时列表接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/adm/lessons</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;">key</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>搜索关键字</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;result&quot;: &quot;success&quot;,
&quot;data&quot;: {
&quot;current_page&quot;: 1,
&quot;data&quot;: [
{
&quot;id&quot;: 6,
&quot;name&quot;: &quot;test&quot;,
&quot;brief&quot;: &quot;this is a test&quot;,
&quot;cover&quot;: &quot;&quot;,
&quot;deleted_at&quot;: null,
&quot;created_by&quot;: 1,
&quot;updated_by&quot;: 1,
&quot;created_at&quot;: &quot;2018-06-06 19:40:01&quot;,
&quot;updated_at&quot;: &quot;2018-06-06 19:40:01&quot;,
&quot;tags&quot;: [
&quot;test&quot;
]
},
{
&quot;id&quot;: 5,
&quot;name&quot;: &quot;test&quot;,
&quot;brief&quot;: &quot;this is a test&quot;,
&quot;cover&quot;: &quot;&quot;,
&quot;deleted_at&quot;: null,
&quot;created_by&quot;: 1,
&quot;updated_by&quot;: 1,
&quot;created_at&quot;: &quot;2018-06-06 19:30:57&quot;,
&quot;updated_at&quot;: &quot;2018-06-06 19:30:57&quot;,
&quot;tags&quot;: []
},
{
&quot;id&quot;: 4,
&quot;name&quot;: &quot;test&quot;,
&quot;brief&quot;: &quot;this is a test&quot;,
&quot;cover&quot;: &quot;&quot;,
&quot;deleted_at&quot;: null,
&quot;created_by&quot;: 1,
&quot;updated_by&quot;: 1,
&quot;created_at&quot;: &quot;2018-06-06 19:30:04&quot;,
&quot;updated_at&quot;: &quot;2018-06-06 19:30:04&quot;,
&quot;tags&quot;: []
},
{
&quot;id&quot;: 3,
&quot;name&quot;: &quot;test&quot;,
&quot;brief&quot;: &quot;this is a test&quot;,
&quot;cover&quot;: &quot;&quot;,
&quot;deleted_at&quot;: null,
&quot;created_by&quot;: 1,
&quot;updated_by&quot;: 1,
&quot;created_at&quot;: &quot;2018-06-06 19:27:21&quot;,
&quot;updated_at&quot;: &quot;2018-06-06 19:27:21&quot;,
&quot;tags&quot;: []
},
{
&quot;id&quot;: 2,
&quot;name&quot;: &quot;TEST&quot;,
&quot;brief&quot;: &quot;This is a test&quot;,
&quot;cover&quot;: null,
&quot;deleted_at&quot;: null,
&quot;created_by&quot;: 1,
&quot;updated_by&quot;: 1,
&quot;created_at&quot;: &quot;2018-06-06 19:23:04&quot;,
&quot;updated_at&quot;: &quot;2018-06-06 19:23:04&quot;,
&quot;tags&quot;: []
},
{
&quot;id&quot;: 1,
&quot;name&quot;: &quot;TEST&quot;,
&quot;brief&quot;: &quot;This is a test&quot;,
&quot;cover&quot;: null,
&quot;deleted_at&quot;: null,
&quot;created_by&quot;: 1,
&quot;updated_by&quot;: 1,
&quot;created_at&quot;: &quot;2018-06-06 19:21:53&quot;,
&quot;updated_at&quot;: &quot;2018-06-06 19:21:53&quot;,
&quot;tags&quot;: []
}
],
&quot;first_page_url&quot;: &quot;http://localhost/api/adm/lessons?page=1&quot;,
&quot;from&quot;: 1,
&quot;last_page&quot;: 1,
&quot;last_page_url&quot;: &quot;http://localhost/api/adm/lessons?page=1&quot;,
&quot;next_page_url&quot;: null,
&quot;path&quot;: &quot;http://localhost/api/adm/lessons&quot;,
&quot;per_page&quot;: 20,
&quot;prev_page_url&quot;: null,
&quot;to&quot;: 6,
&quot;total&quot;: 6
},
&quot;message&quot;: &quot;操作成功&quot;
}</code></pre>