Skip to content

功能概述

相册详情展示模块

接口访问

接口地址

album/detail

请求方式 Method

GET

Header - Authorization Type : Bearer Token

属性类型长度必填默认值说明访问版本
tokenstring32true用户身份标识令牌-

请求参数

属性类型长度必填默认值说明
albumIDinteger1true相册ID
sizeinteger20true图片数量
pageinteger11true页码

返回值

属性类型必填说明
idintegertrue相册ID
titlestringtrue相册标题
descriptionstringtrue相册详情
imageUrlstringtrue相册封面
shootingStartTimestringtrue相册拍摄开始时间 yyyy-mm-dd
shootingEndTimestringtrue相册拍摄结束时间 yyyy-mm-dd
albumListarraytrue图片列表
createTimedatetimetrue创建时间

albumList

属性类型必填说明
idintegertrue图片ID
imageUrlstringtrue图片地址
createTimedatetimetrue创建时间
totalintegertrue总数

返回示例

{
    "response": {
        "id": 1,
        "title": "海中力量,乘风破浪",
        "description": "海中力量,乘风破浪",
        "imageUrl": "https://hmsef.com/images/common/chengfengpolang.jpg",
        "shootingStartTime": "0000-00-00 00:00:00",
        "shootingEndTime": "0000-00-00 00:00:00",
        "albumList": {
            "0": {
                "id": 1,
                "imageUrl": "https://hmsef.com/images/common/chengfengpolang.jpg",
                "createTime": "2025-01-20 11:56:00"
            },
            "1": {
                "id": 4,
                "imageUrl": "https://hmsef.com/images/common/chengfengpolang.jpg",
                "createTime": "2025-01-20 11:56:00"
            },
            "total": 2
        },
        "createTime": "2025-01-11 22:35:24"
    },
    "requestId": "3d82d4d4-29e2-461a-b31a-d78050425a55"
}