分页获取用户的浏览记录
开发中GET
/api/user/history浏览记录以滚动加载的形式实现分页
请求参数
Query 参数
pageSize
string
一页的个数
current
string
当前的页数
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
状态码
message
string
状态信息
data
$ref(#/definitions/91538427)[]
返回数据
#/definitions/91538427
可选
示例
{
"code": 200,
"message": "qui dolor Excepteur do laborum",
"data": [
{
"id": "32",
"name": "得山参量育对",
"imgList": [
"http://dummyimage.com/400x400",
"http://dummyimage.com/400x400",
"http://dummyimage.com/400x400"
],
"authorId": "62",
"authorName": "感专识能对越",
"authorAvatar": "http://dummyimage.com/100x100",
"createdAt": "2018-05-06 12:51:59"
},
{
"id": "91",
"name": "流增非",
"imgList": [
"http://dummyimage.com/400x400"
],
"authorId": "18",
"authorName": "学理论会内证",
"authorAvatar": "http://dummyimage.com/100x100",
"createdAt": "2023-03-14 14:47:42"
},
{
"id": "63",
"name": "状革器",
"imgList": [
"http://dummyimage.com/400x400",
"http://dummyimage.com/400x400"
],
"authorId": "69",
"authorName": "上利两酸相",
"authorAvatar": "http://dummyimage.com/100x100",
"createdAt": "1996-07-04 13:14:00"
}
]
}
修改于 6 个月前