On this page
获取我的收藏列表
接口URL
请求方式
GET
Content-Type
form-data
请求Header参数
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
token | 36040cbcde65e482739afca7a5465ab750c1c5d5 | String | 否 | 用户token |
路径变量
参数名 | 示例值 | 参数描述 |
---|---|---|
page | 1 | 页码 |
成功响应示例
json
{
"code": 1,
"msg": "ok",
"data": {
"total": 2,
"per_page": 10,
"current_page": 1,
"last_page": 1,
"data": [
{
"id": 1748,
"user_id": 1424,
"title": "今天有点冷",
"images": [],
"url": "",
"category_id": 2,
"topic_id": 0,
"share_count": 0,
"ding_count": 0,
"cai_count": 0,
"comment_count": 2,
"read_count": 10,
"collect_count": 0,
"create_time": "2023-11-29 14:04:02",
"update_time": "2024-04-06 01:07:21",
"name": "18001066656",
"avatar": null,
"user_status": 1,
"topic_name": null,
"user_support_action": "",
"isfollow": true
},
{
"id": 1362,
"user_id": 1391,
"title": "编译成功。前端运行日志,请另行在浏览器的控制台查看。",
"images": [],
"url": "",
"category_id": 5,
"topic_id": 0,
"share_count": 0,
"ding_count": 1,
"cai_count": 0,
"comment_count": 0,
"read_count": 2,
"collect_count": 1,
"create_time": "2023-06-26 15:40:52",
"update_time": "2024-01-19 16:12:42",
"name": "15809543217",
"avatar": null,
"user_status": 1,
"topic_name": null,
"user_support_action": "ding",
"isfollow": true
}
]
}
}
错误响应示例
json
{
"code": 0,
"msg": "登录已失效,请重新登录",
"data": null
}