产品页--轮播图
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>产品页--轮播图</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://webapi.blueimages.top/product/slide</code></li>
</ul>
<h5>编码类型</h5>
<ul>
<li>Content-type: application/x-www-form-urlencoded; charset=UTF-8;</li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<ul>
<li>无</li>
</ul>
<h5>返回示例</h5>
<pre><code> {
"code":0,
"message":"success",
"data":[
{
"bind_id":1,
"bind_type":1,
"banner":"https:\/\/static.blueimages.top\/uploads\/mtimages\/20220915\/0a93af6267ef85a8c673d8331a9ca94f.png?v=0.4146270323889476"
},
{
"bind_id":2,
"bind_type":2,
"banner":"https:\/\/static.blueimages.top\/uploads\/mtimages\/20220915\/c0323f1db4b3090ee9bdc78cd4cca438.png?v=0.5987737353155658"
}
]
}</code></pre>
<h5>返回参数说明</h5>
<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;">bind_id</td>
<td style="text-align: left;">int</td>
<td>绑定ID,bind_id为0时表示不跳转,只展示图片</td>
</tr>
<tr>
<td style="text-align: left;">bind_type</td>
<td style="text-align: left;">int</td>
<td>绑定类型:1、产品 2、新闻,根据绑定的类型跳转不同的详情</td>
</tr>
<tr>
<td style="text-align: left;">banner</td>
<td style="text-align: left;">string</td>
<td>轮播图地址</td>
</tr>
</tbody>
</table>