轮播图
<p><strong>简要描述:</strong></p>
<ul>
<li>轮播图</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>https://api-hmugo-web.itheima.net/api/public/v1/home/swiperdata</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET</li>
</ul>
<p><strong>参数:</strong> 无</p>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;message&quot;: [
{
&quot;image_src&quot;: &quot;https://api-hmugo-web.itheima.net/pyg/banner1.png&quot;,
&quot;open_type&quot;: &quot;navigate&quot;,
&quot;goods_id&quot;: 129,
&quot;navigator_url&quot;: &quot;/pages/goods_detail/index?goods_id=129&quot;
}
],
&quot;meta&quot;: {
&quot;msg&quot;: &quot;获取成功&quot;,
&quot;status&quot;: 200
}
}</code></pre>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>image_src</td>
<td>string</td>
<td>图片路径</td>
</tr>
<tr>
<td>open_type</td>
<td>string</td>
<td>打开方式</td>
</tr>
<tr>
<td>goods_id</td>
<td>number</td>
<td>商品id</td>
</tr>
<tr>
<td>navigator_url</td>
<td>string</td>
<td>导航链接</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong></p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>