轮播图列表

请求URL:

  • /getBanners

请求方式:

  • POST

header:

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

参数:

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

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": [
        {
            "id": 10,
            "image": "https://muyuhan.s3.amazonaws.com/facewap/banners/banner.png",
            "type": 2,
            "url": "",
            "fileType": 1,
            "location": 1,
            "tempId": 49,
            "isAudit": 0,
            "sort": 1,
            "createdAt": 1762492449,
            "updatedAt": 1762499245,
            "template": {
                "id": 49,
                "title": "Undress Tease II",
                "thumb": "https://muyuhan.s3.amazonaws.com/facewap/thumb/Undress+Tease+II.png",
                "covering": "https://muyuhan.s3.amazonaws.com/facewap/covering/Undress+Tease+II.webp",
                "video": "https://muyuhan.s3.amazonaws.com/facewap/video/Undress+Tease+II.mp4",
                "pid": 1,
                "gid": 1,
                "favoriteCount": 9,
                "apiType": 1,
                "price": 0,
                "template": "",
                "images": null,
                "sort": 2,
                "isHome": 1,
                "prompt": "Her top layer slips off unveiling her silhouette in a see-through bra as she gives a sultry smile to the camera.",
                "author": "gudgirlgonebad",
                "isVip": 1,
                "createdAt": 1753942249,
                "updatedAt": 1764231063,
                "isFavorite": false
            }
        },
        {
            "id": 12,
            "image": "https://muyuhan.s3.amazonaws.com/facewap/banners/banner.png",
            "type": 3,
            "url": "https://www.baidu.com/",
            "fileType": 3,
            "location": 1,
            "tempId": 0,
            "isAudit": 0,
            "sort": 1,
            "createdAt": 1762492449,
            "updatedAt": 1764814914,
            "template": null
        }
    ]
}

返回参数说明

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

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

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-12-04 10:47:12

results matching ""

    No results matching ""