简要描述:

  • 获取文件夹收藏列表接口

接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2020-02-17

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string 授权凭证

请求参数:

参数名 是否必须 类型 说明
dir_id int 文件夹id,系统文件夹=0
page int 页码
pagesize int 条数

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "获取成功",
    "data": {
        "count": 2,
        "list": [
            {
                "opus_id": 4,
                "title": "人物1",
                "price": "5.00",
                "opus_thumbnail": "http://design.com/uploads/user/opus/2020-02-15/5e47c68016ea7.jpg",
                "collection_status": true
            },
            {
                "opus_id": 8,
                "title": "人物3",
                "price": "0.00",
                "opus_thumbnail": "http://design.com/uploads/user/opus/2020-02-17/5e4a083842ae4.jpg",
                "collection_status": true
            }
        ]
    }
}

错误时返回:

{
    "status": 0,
    "msg": "登录过期"
}

data返回参数说明:

参数名 类型 说明
count int 总条数
list array 列表

list返回参数说明:

参数名 类型 说明
opus_id int 作品id
opus_thumbnail string 作品预览图路径
title string 作品标题
price float 价格
collection_status bool 收藏状态【true=已收藏,1false=没有收藏】

备注:

文档更新时间: 2020-02-20 11:16   作者:admin