获取小程序的轮播图列表
<h5>简要描述</h5>
<ul>
<li>获取小程序的轮播图列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:8500/slideshow/list</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>get</li>
</ul>
<h5>Header</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">header</th>
<th style="text-align: left;">必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">miniCode</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>小程序标识</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
"data": {
"slideshowList": [
{
"connectUrl": "https:\/\/www.baidu.com\/",
"imgUrl": "https:\/\/gimg2.baidu.com\/image_search\/src=http%3A%2F%2Fimg5.51tietu.net%2Fpic%2F2019-082011%2Fbdurema21vtbdurema21vt.jpg&refer=http%3A%2F%2Fimg5.51tietu.net&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1636768826&t=9a797e9c0269670f6a75a63ace1840b4",
"sort": 0
},
{
"connectUrl": "https:\/\/www.baidu.com\/",
"imgUrl": "https:\/\/gimg2.baidu.com\/image_search\/src=http%3A%2F%2Fpic1.win4000.com%2Fpic%2F8%2F4a%2F17c41174012.jpg%3Fdown&refer=http%3A%2F%2Fpic1.win4000.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1636768906&t=de0569e0de8fce86d0df6d28892eaff8",
"sort": 1
},
{
"connectUrl": "https:\/\/www.baidu.com\/",
"imgUrl": "https:\/\/gimg2.baidu.com\/image_search\/src=http%3A%2F%2Fb-ssl.duitang.com%2Fuploads%2Fitem%2F201608%2F20%2F20160820165627_QMNnA.jpeg&refer=http%3A%2F%2Fb-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1636768906&t=76ba2abe298d6983068a704eaac88fcf",
"sort": 2
},
{
"connectUrl": "https:\/\/www.baidu.com\/",
"imgUrl": "https:\/\/gimg2.baidu.com\/image_search\/src=http%3A%2F%2Fn.sinaimg.cn%2Fsinacn19%2F752%2Fw690h862%2F20181115%2Ff6f8-hnvukff4593280.jpg&refer=http%3A%2F%2Fn.sinaimg.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1636768906&t=0282bf3436ddb9bcea4a96a11a6521ce",
"sort": 3
}
]
},
"head": {
"code": 200,
"msg": "成功"
}
}
</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;">data</td>
<td style="text-align: left;">object</td>
<td>数据</td>
</tr>
<tr>
<td style="text-align: left;">slideshowList</td>
<td style="text-align: left;">array</td>
<td>轮播图列表</td>
</tr>
<tr>
<td style="text-align: left;">slideshowList.connectUrl</td>
<td style="text-align: left;">string</td>
<td>链接地址</td>
</tr>
<tr>
<td style="text-align: left;">slideshowList.imgUrl</td>
<td style="text-align: left;">string</td>
<td>图片路径</td>
</tr>
<tr>
<td style="text-align: left;">slideshowList.sort</td>
<td style="text-align: left;">string</td>
<td>排序</td>
</tr>
<tr>
<td style="text-align: left;">head</td>
<td style="text-align: left;">object</td>
<td>消息头</td>
</tr>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">string</td>
<td>返回码</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">string</td>
<td>消息文本</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<p>返回码 code 说明:
110:用户未登录
200:正常
400:客户端异常
500:服务端异常</p>