文档
测试

我的表白墙列表

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

请求头

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

请求参数

参数名
类型
描述
必填
page
int
选填 请求页码 不填默认第一页
必填
pagesize
int
选填 每页显示数量 不填默认反10条
必填

响应参数

参数名
类型
描述
必填
code
int
状态码 1:成功,2:失败,10001:未登录
必填
msg
string
返回信息
必填
data
object
返回数据
必填
total
int
列表总数
必填
per_page
int
每页返回数量
必填
current_page
int
当前页码
必填
last_page
int
最后一页页码
必填
data
array
返回列表
必填
id
int
表白墙
必填
content
string
表白墙内容
必填
images
string
表白墙图片,多个“,”隔开
必填
to_username
string
表白对象名称
必填
create_time
string
创建时间
必填

说明 / 示例

```json { "code": 1, "msg": "获取成功", "data": { "total": 5, "per_page": "3", "current_page": "1", "last_page": 2, "data": [ { "id": 12, //id "user_id": 26, "festival_id": 1, "campus_id": 1001, "content": "电饭锅电饭锅", //校友圈内容 "images": "", "to_username": "个", //被表白对象名称 "create_time": 2021-05-17 09:28:28, //创建时间 "like_count": 1, //点赞数量 "comment_count": 5, //评论数量 "status": 1 }, { "id": 10, "user_id": 26, "festival_id": 0, "campus_id": 1001, "content": "水电费水电费", "images": "", "to_username": "水电费", "create_time": 1621214908, "like_count": 1, "comment_count": 0, "status": 1 }, { "id": 9, "user_id": 26, "festival_id": 0, "campus_id": 1001, "content": "水电费", "images": "", "to_username": "地方", "create_time": 1621214843, "like_count": 1, "comment_count": 0, "status": 1 } ] } }