获取轮播图
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取轮播图接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:22064/api/index/banner</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </li>
</ul>
<h5>参数</h5>
<p>无</p>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;轮播图数据获取成功!&quot;,
&quot;data&quot;: [
{
&quot;id&quot;: 1,
&quot;img&quot;: &quot;http://localhost:22064/avatar/banner1.png&quot;
},
{
&quot;id&quot;: 2,
&quot;img&quot;: &quot;http://localhost:22064/avatar/banner2.png&quot;
},
{
&quot;id&quot;: 3,
&quot;img&quot;: &quot;http://localhost:22064/avatar/banner3.png&quot;
}
]
}</code></pre>