新闻--轮播图
[TOC]
简要描述
- 新闻--轮播图
请求URL
https://webapi.blueimages.top/news/slide
编码类型
- Content-type: application/x-www-form-urlencoded; charset=UTF-8;
请求方式
- POST
参数
- 无
返回示例
{
"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"
}
]
}
返回参数说明
参数名 | 类型 | 说明 |
---|---|---|
bind_id | int | 绑定ID,bind_id为0时表示不跳转,只展示图片 |
bind_type | int | 绑定类型:1、产品 2、新闻,根据绑定的类型跳转不同的详情 |
banner | string | 轮播图地址 |