banner列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>banner列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/adm/banners</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>
</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;: 3,
&quot;type&quot;: &quot;link&quot;,
&quot;cover_url&quot;: &quot;http://pic.90sjimg.com/back_pic/00/00/69/40/84dfcd275b46053b9608ce875840dcbe.jpg!/fwfh/804x206/quality/90/unsharp/true/compress/true&quot;,
&quot;target_value&quot;: &quot;www.taobao.com&quot;,
&quot;sort&quot;: 99,
&quot;created_at&quot;: &quot;2018-07-12 14:04:31&quot;
},
{
&quot;id&quot;: 1,
&quot;type&quot;: &quot;link&quot;,
&quot;cover_url&quot;: null,
&quot;target_value&quot;: &quot;www.baidu.com&quot;,
&quot;sort&quot;: null,
&quot;created_at&quot;: &quot;2018-07-12 12:02:09&quot;
}
],
&quot;first_page_url&quot;: &quot;http://localhost:82/api/adm/banners?page=1&quot;,
&quot;from&quot;: 1,
&quot;last_page&quot;: 1,
&quot;last_page_url&quot;: &quot;http://localhost:82/api/adm/banners?page=1&quot;,
&quot;next_page_url&quot;: null,
&quot;path&quot;: &quot;http://localhost:82/api/adm/banners&quot;,
&quot;per_page&quot;: 20,
&quot;prev_page_url&quot;: null,
&quot;to&quot;: 2,
&quot;total&quot;: 2
},
&quot;message&quot;: &quot;操作成功&quot;
}</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>