分页获取收藏夹作品列表
开发中GET
/api/favorite/works浏览收藏夹时,分页获取这个收藏夹的作品列表
请求参数
Query 参数
id
string
收藏夹id
pageSize
string
一页的个数
示例值:
12
current
string
当前的页数
示例值:
1
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
状态码
message
string
状态信息
data
$ref(#/definitions/91535032)[]
返回数据
#/definitions/91535032
可选
示例
{
"code": 9,
"message": "sunt",
"data": [
{
"id": "42",
"name": "流打目得机",
"imgList": [
"http://dummyimage.com/400x400",
"http://dummyimage.com/400x400",
"http://dummyimage.com/400x400"
],
"authorId": "13",
"authorName": "整自半族会建华",
"authorAvatar": "http://dummyimage.com/100x100",
"isLiked": true
},
{
"id": "68",
"name": "观进外生制人离",
"imgList": [
"http://dummyimage.com/400x400",
"http://dummyimage.com/400x400"
],
"authorId": "40",
"authorName": "识办红走回他",
"authorAvatar": "http://dummyimage.com/100x100",
"isLiked": true
}
]
}
修改于 5 个月前