轮播图列表

请求URL:

  • /getBanners

请求方式:

  • POST

header:

参数名 必选 类型 说明
Authorization string 授权token

参数:

参数名 必选 类型 说明
appId string
udid string
location uint8 轮播图位置:1-马甲包顶部

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": [
        {
            "id": 1,
            "image": "https://muyuhan.s3.amazonaws.com/images/styles/anime_new.jpg",
            "type": 1,
            "location": 1,
            "tempId": 0,
            "isAudit": 0,
            "sort": 1,
            "createdAt": 1757461301,
            "updatedAt": 1757461305
        },
        {
            "id": 2,
            "image": "https://muyuhan.s3.amazonaws.com/images/styles/anime_new.jpg",
            "type": 1,
            "location": 1,
            "tempId": 0,
            "isAudit": 0,
            "sort": 2,
            "createdAt": 1757461301,
            "updatedAt": 1757461574
        }
    ]
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data struct 数据
- id int 轮播图ID
- image string 轮播图地址
- type int 跳转类型:1-生图;2-生视频
- location uint8 轮播图位置
- tempId int 生图(生视频)模版ID
- isAudit int 是否审核员数据
- sort int 排序
- createdAt int64 添加时间
- updatedAt int64 修改时间

备注 错误码: 510 系统异常 800 参数错误

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-09-10 18:37:29

results matching ""

    No results matching ""