文档
测试

web轮播图列表

GET
v2/all_banners

接口描述

轮播图列表

请求头

参数名
类型
描述
必填
platform
int
1-android 2-apple 3-web 4-all
必填

请求参数

参数名
类型
描述
必填
page_num
int
页码,默认第一页
必填

响应参数

参数名
类型
描述
必填
code
必填
msg
必填
data
数组
必填
id
int
必填
pic_web_low_definition
string
web端低清封面图片地址
必填
pic_web_high_definition
string
web端高清封面图片地址
必填
title
string
title
必填
intro
string
介绍
必填
home_page_sub
数组
必填
id
int
必填
url_web_low_definition
string
web端低清图片地址(可能为空)
必填
url_web_high_definition
string
web端高清图片地址(可能为空)
必填
url
string
视频地址(可能为空)
必填
type
int
0未解析成功 1图片 2视频
必填
cover
string
视频的封面图片(可能为空)
必填
url_web_low_definition
string
web端低清视频封面图片
必填
url_web_high_definition
string
web端高清视频封面图片
必填
created_at
int64
创建时间(以毫秒为单位)
必填

说明 / 示例

{ "code": 200, "msg": "", "data": [ { "id": 6, "pic": "https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=2483784393,127887195&fm=26&gp=0.jpg", "title": "666", "intro": "666666666-66666", "home_page_sub": [ { "id": 7, "url": "333" }, { "id": 8, "url": "444" }, { "id": 9, "url": "https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2718853745,1288801299&fm=26&gp=0.jpg" }, { "id": 10, "url": "https://dss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1483731740,4186543320&fm=26&gp=0.jpg" }, { "id": 13, "url": "444" } ] }, { "id": 5, "pic": "https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=2483784393,127887195&fm=26&gp=0.jpg", "title": "我是轮播图", "intro": "我是轮播图介绍---dvvvvvvvvv", "home_page_sub": [ { "id": 5, "url": "https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2718853745,1288801299&fm=26&gp=0.jpg" }, { "id": 6, "url": "https://dss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1483731740,4186543320&fm=26&gp=0.jpg" } ] }, { "id": 4, "pic": "https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=2483784393,127887195&fm=26&gp=0.jpg", "title": "我是轮播图", "intro": "我是轮播图介绍---dvvvvvvvvv", "home_page_sub": [ { "id": 3, "url": "https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2718853745,1288801299&fm=26&gp=0.jpg" }, { "id": 4, "url": "https://dss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1483731740,4186543320&fm=26&gp=0.jpg" } ] }, { "id": 2, "pic": "www.pic.com", "title": "我是轮播图_2", "intro": "i am moving pic", "home_page_sub": [] } ] }