简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2021-07-7

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明

请求参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "获取成功",
    "data": {
        "ad_top": [
            {
                "id": 3,
                "ad": "http://iot.com/uploads/advertisement/2021-07-07/60e5591bd4362.jpg",
                "url": "#",
                "display_position": "top"
            }
        ],
        "ad_bottom": [
            {
                "id": 4,
                "ad": "http://iot.com/uploads/advertisement/2021-07-07/60e5594bacf18.png",
                "url": "#",
                "display_position": "bottom"
            }
        ]
    },
    "other": []
}

错误时返回:

返回参数说明:

参数名 类型 说明
ad_top.id int 顶部广告id
ad_top.ad string 顶部广告图片
ad_top.url string 顶部广告跳转
ad_bottom.id int 底部广告id
ad_bottom.ad string 底部广告图片
ad_bottom.url string 底部广告跳转

备注:

文档更新时间: 2021-07-07 16:15   作者:admin