简要描述:
- 获取广告列表接口
接口版本:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 1.0.0 | kevin | 2020-03-21 |
请求URL:
请求方式:
- GET
请求头:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|
请求参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| req_type | 是 | string | small=小程序,public=公众号,pc=PC端,app=APP端 |
| display_page | 是 | string | 显示页面 |
| display_position | 是 | string | 显示位置【上=top,中=center,下=bottom】 |
返回示例:
正确时返回:
{
"status": 200,
"msg": "获取成功",
"data": [
{
"id": 1,
"images": "http://novel.com/uploads/advertisement/2020-03-21/5e75754a237b8.jpg",
"url": "#"
}
]
}错误时返回:
{
"status": 0,
"msg": "token过期"
}返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| id | int | 广告id |
| images | string | 封面路径 |
| url | string | 跳转路径 |
备注:
- 无
作者:admin 创建时间:2020-03-21 09:49
更新时间:2025-10-22 20:24
更新时间:2025-10-22 20:24