文档
测试

收藏列表

POST
api/collect/list

接口描述

收藏列表

请求头

参数名
类型
描述
必填
token
String
token
必填

正确返回

``` { "code": 200, "message": "OK", "data": { "current_page": 1, "data": [ { "id": 6, // 收藏id "post_id": 4, // 动态id "name": "第88个马甲", //发布动态的马甲 "avatar_url": "", // 发布动态的头像 "content": "今天很开心哦234567865432", // 动态内容 "publishtime": "公元前8001年",//发表时间 "platform": "iPhone 120 pro max", // 动态客户端 "image_url": [ "https://pic1.imgdb.cn/item/634fe3d704140bfcf5314383.jpg", "https://pic1.imgdb.cn/item/634fdafa03f071e1779e04ff.gif" ], // 动态图片 "is_delete": 0,//是否删除 "tag_json": null //tag列表,有内容的参考id=5 }, { "id": 5, "post_id": 1, "name": "第88个马甲", "avatar_url": "", "content": "***这条动态被删除了***", "publishtime": "", "platform": "", "image_url": null, "is_delete": 1, "tag_json": [ { "id": 2, "name": "陆景和" } ] } ], "first_page_url": "http://friends.test/api/collect/list?page=1", "from": 1, "last_page": 1, "last_page_url": "http://friends.test/api/collect/list?page=1", "next_page_url": null, "path": "http://friends.test/api/collect/list", "per_page": 50, "prev_page_url": null, "to": 2, "total": 2 } } ```

错误返回

`null`