获取小程序的轮播图列表

简要描述
  • 获取小程序的轮播图列表
请求URL
  • http://localhost:8500/slideshow/list
请求方式
  • get
Header
header 必选 类型 说明
miniCode string 小程序标识
返回示例
{
  "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": "成功"
  }
}
返回参数说明
参数名 类型 说明
data object 数据
slideshowList array 轮播图列表
slideshowList.connectUrl string 链接地址
slideshowList.imgUrl string 图片路径
slideshowList.sort string 排序
head object 消息头
code string 返回码
msg string 消息文本
备注

返回码 code 说明:
110:用户未登录
200:正常
400:客户端异常
500:服务端异常