文档
测试

我的校友圈列表

POST
https://ud.12861.ltd/api.php/campus_circle/self_list

请求头

参数名
类型
描述
必填
token
string
用户token
必填

请求参数

参数名
类型
描述
必填
page
int
选填 请求页码(默认1)
必填
pagesize
int
选填 每页返回数量 (默认10)
必填

响应参数

参数名
类型
描述
必填
code
int
错误码 1:成功 , 0:失败, 10001:未登录
必填
msg
string
返回信息
必填
data
object
返回数据
必填
total
int
总条数
必填
per_page
int
每页数量
必填
current_page
int
当前页码
必填
last_page
int
最后一页页码
必填
data
array
必填
id
int
校友圈id
必填
content
string
校友圈内容
必填
images
array
校友圈图片列表
必填
like_count
int
点赞数量
必填
comment_count
int
评论数量
必填
comment
array
评论列表
必填
id
int
评论id
必填
user_id
int
评论者id(与下方user中id相同,可取下方id)
必填
user
object
评论者信息
必填
id
int
评论者id
必填
user_nickname
string
评论者昵称
必填
to_user_id
int
被回复评论者id 与下方 to_user对象中id相同(直接回复校友圈的,此项为0,表示不回复任何人,只评论校友圈)
必填
to_user
object
被回复评论者信息
必填
id
int
用户id
必填
user_nickname
string
用户昵称
必填
show_time
string
发布距离现在时间
必填
category
object
所属分类信息
必填
id
int
所属分类id
必填
title
string
所属分类名称
必填
show_time
string
校友圈发布距离现在时间
必填

说明 / 示例

```json { "code": 1, "msg": "获取成功", "data": { "total": 7, "per_page": 10, "current_page": 1, "last_page": 1, "data": [ { "id": 38, //id "user_id": 26, "category_id": 2, "campus_id": 1001, "content": "测试", //内容 "images": "http://udimg.12861.ltd/xrq_2616212599785333.jpg,http://udimg.12861.ltd/xrq_2616212599786543.jpg,http://udimg.12861.ltd/xrq_2616212599786276.jpg", //图片 多个用“,”隔开 "create_time": 1621260007, "like_count": 1, //点赞数 "comment_count": 3, //评论数 "status": 1, "category": { //分类信息 "id": 2, "title": "美食类" }, "show_time": "2天以前", //发布时间 "comment": [ { "id": 40, "user_id": 29, "to_user_id": 27, "campus_circle_id": 38, "content": "没有", "create_time": 1621387758, "user": { "id": 29, "user_nickname": "欧米伽c", "xueid": "1001" }, "to_user": { "id": 27, "user_nickname": "wowo1", "xueid": "1001" }, "show_time": "23小时以前" }, { "id": 39, "user_id": 27, "to_user_id": 0, "campus_circle_id": 38, "content": "500311500311", "create_time": 1621317491, "user": { "id": 27, "user_nickname": "wowo1", "xueid": "1001" }, "to_user": null, "show_time": "1天以前" }, { "id": 38, "user_id": 27, "to_user_id": 0, "campus_circle_id": 38, "content": "打疫苗了吗", "create_time": 1621260105, "user": { "id": 27, "user_nickname": "wowo1", "xueid": "1001" }, "to_user": null, "show_time": "2天以前" } ] }, { "id": 26, "user_id": 26, "category_id": 1, "campus_id": 1001, "content": "发个小圈试一试😁😂😒😍😞😞😜😞😜😠😌😡😚😠😞😜😒😍😓😌😠😜😜😠😍", "images": "", "create_time": 1620912653, "like_count": 1, "comment_count": 3, "status": 1, "category": { "id": 1, "title": "情感类" }, "show_time": "6天以前", "comment": [ { "id": 29, "user_id": 27, "to_user_id": 0, "campus_circle_id": 26, "content": "大口大口", "create_time": 1620914580, "user": { "id": 27, "user_nickname": "wowo1", "xueid": "1001" }, "to_user": null, "show_time": "6天以前" }, { "id": 28, "user_id": 27, "to_user_id": 0, "campus_circle_id": 26, "content": "买买买", "create_time": 1620914572, "user": { "id": 27, "user_nickname": "wowo1", "xueid": "1001" }, "to_user": null, "show_time": "6天以前" }, { "id": 27, "user_id": 26, "to_user_id": 0, "campus_circle_id": 26, "content": "😂😂😂(´3`ʃƪ)❀母亲节快乐", "create_time": 1620912666, "user": { "id": 26, "user_nickname": "大黄", "xueid": "1001" }, "to_user": null, "show_time": "6天以前" } ] }, { "id": 21, "user_id": 26, "category_id": 2, "campus_id": 1001, "content": "可来了", "images": "https://ud.12861.ltd/upload/user/user_thumb/20210513/538d7a6d4d08ccc6691d54e272797272.jpg", "create_time": 1620905700, "like_count": 0, "comment_count": 0, "status": 1, "category": { "id": 2, "title": "美食类" }, "show_time": "6天以前", "comment": [] }, { "id": 15, "user_id": 26, "category_id": 1, "campus_id": 2, "content": "测试图文了啦啦", "images": "https://ud.12861.ltd/upload/user/user_thumb/20210513/b88c1a0a343eb091f9148f26a4691486.png,https://ud.12861.ltd/upload/user/user_thumb/20210513/b88c1a0a343eb091f9148f26a4691486.png,https://ud.12861.ltd/upload/user/user_thumb/20210513/2d8ec5f6c4cdd391adbcbca28c2190df.png", "create_time": 1620899769, "like_count": 0, "comment_count": 0, "status": 1, "category": { "id": 1, "title": "情感类" }, "show_time": "6天以前", "comment": [] }, { "id": 13, "user_id": 26, "category_id": 2, "campus_id": 1001, "content": "水电费", "images": "https://ud.12861.ltd/upload/user/user_thumb/20210513/424031f0823a16fb11ca0d5a75c2c93f.png", "create_time": 1620898687, "like_count": 2, "comment_count": 0, "status": 1, "category": { "id": 2, "title": "美食类" }, "show_time": "6天以前", "comment": [] }, { "id": 11, "user_id": 26, "category_id": 1, "campus_id": 1001, "content": "放大的方式", "images": "https://ud.12861.ltd/upload/user/user_thumb/20210513/b88c1a0a343eb091f9148f26a4691486.png", "create_time": 1620898106, "like_count": 0, "comment_count": 0, "status": 1, "category": { "id": 1, "title": "情感类" }, "show_time": "6天以前", "comment": [] }, { "id": 8, "user_id": 26, "category_id": 2, "campus_id": 1001, "content": "三大框架返回数据房间开始发圣诞节快乐风几十块的方式符合就开始打飞机和开发商的痕迹复健科的地方数据库适得府君书东方季道数据库发的说了句发发动机客服点击开始的解放军接口的复健科", "images": "https://ud.12861.ltd/upload/user/user_thumb/20210513/3510a1feaaf58fc5c212112df8b84c79.png,https://ud.12861.ltd/upload/user/user_thumb/20210513/22ebea69227569cee8f743d2492fb653.png,https://ud.12861.ltd/upload/user/user_thumb/20210513/f8a9b10fddda7ed18c9fe2bb127bedeb.png,https://ud.12861.ltd/upload/user/user_thumb/20210513/d8aa49c9b8b6181a405e32284fa595c7.png", "create_time": 1620897026, "like_count": 0, "comment_count": 0, "status": 1, "category": { "id": 2, "title": "美食类" }, "show_time": "6天以前", "comment": [] } ] } }