文档
测试
GET
/api/carousel/lists

请求参数

参数名
类型
描述
必填
type
string
轮播图:index=首页,lot=缘分圈 默认index
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:成功
必填
time
string
示例:1604561048
必填
data
array
数据列表
必填
id
int
示例:5
必填
img
string
示例:http://haoqingchun.oss-cn-shanghai.aliyuncs.com/ca9ed08e3a0a68dcf085f1334ae822a5.png
必填
url
string
跳转 (内容类型为1时)示例:http://www.baidu.com
必填
content_type
int
内容类型:1=连接,2=自带内容
必填
content
string
富文本 (内容类型为2时)
必填