文档
测试

我的帖子列表

POST
/home/articleMy

请求参数

参数名
类型
描述
必填
openid
必填
page
int
页码
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:成功
必填
list
object
数据字典
必填
current_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:2
必填
title
string
示例:汽车
必填
body
string
示例:贵啊
必填
addtime
string
示例:2021-03-17 11:28
必填
zan_status
string
示例:fasle 本人是否点赞
必填
time
string
示例:6小时前
必填
first_page_url
string
示例:http://192.168.31.243/home/articleMy?page=1
必填
from
int
示例:1
必填
last_page
int
示例:1
必填
last_page_url
string
示例:http://192.168.31.243/home/articleMy?page=1
必填
next_page_url
object
示例:null
必填
path
string
示例:http://192.168.31.243/home/articleMy
必填
per_page
int
示例:20
必填
prev_page_url
object
示例:null
必填
to
int
示例:3
必填
total
int
示例:3
必填

说明 / 示例

{ "code": 200, "msg": "成功", "list": { "current_page": 1, "data": [ { "id": 2, "title": "汽车", "body": "贵啊", "addtime": "2021-03-17 11:28", "zan_status": "fasle", "time": "6小时前" }, { "id": 3, "title": "宠物", "body": "小狗", "addtime": "2021-03-17 11:28", "zan_status": "true", "time": "6小时前" }, { "id": 4, "title": "大自然", "body": "风景", "addtime": "2021-03-17 17:22", "zan_status": "fasle", "time": "6小时前" } ], "first_page_url": "http://192.168.31.243/home/articleMy?page=1", "from": 1, "last_page": 1, "last_page_url": "http://192.168.31.243/home/articleMy?page=1", "next_page_url": null, "path": "http://192.168.31.243/home/articleMy", "per_page": 20, "prev_page_url": null, "to": 3, "total": 3 } }