轮播图列表路由
<h5>接口描述</h5>
<ul>
<li>轮播图列表模板</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/api/admin/slides</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>请求头部</h5>
<p>|参数名|必选|类型|说明|
|:---- |:---|:----- |----- |
|Authorization |是 |string |JWT token|</p>
<h5>返回示例</h5>
<ul>
<li>状态码 200 请求成功</li>
</ul>
<pre><code>{
&quot;data&quot;: [
{
&quot;id&quot;: 1,
&quot;title&quot;: &quot;图1&quot;,
&quot;url&quot;: null,
&quot;img&quot;: &quot;a.png&quot;,
&quot;img_url&quot;: &quot;https://laravel-shop-api-study.oss-cn-hongkong.aliyuncs.com/a.png&quot;,
&quot;status&quot;: 0,
&quot;seq&quot;: 1,
&quot;created_at&quot;: &quot;2024-04-01T09:29:50.000000Z&quot;,
&quot;updated_at&quot;: &quot;2024-04-01T09:29:50.000000Z&quot;
},
{
&quot;id&quot;: 2,
&quot;title&quot;: &quot;图1&quot;,
&quot;url&quot;: null,
&quot;img&quot;: &quot;a.png&quot;,
&quot;img_url&quot;: &quot;https://laravel-shop-api-study.oss-cn-hongkong.aliyuncs.com/a.png&quot;,
&quot;status&quot;: 0,
&quot;seq&quot;: 2,
&quot;created_at&quot;: &quot;2024-04-01T09:33:10.000000Z&quot;,
&quot;updated_at&quot;: &quot;2024-04-01T09:33:10.000000Z&quot;
}
],
&quot;meta&quot;: {
&quot;pagination&quot;: {
&quot;total&quot;: 2,
&quot;count&quot;: 2,
&quot;per_page&quot;: 2,
&quot;current_page&quot;: 1,
&quot;total_pages&quot;: 1,
&quot;links&quot;: {}
}
}
}</code></pre>
<ul>
<li>
<p>状态码 201 成功</p>
</li>
<li>状态码 401</li>
</ul>