文档
测试

我的评论

POST
/home/myComments

请求参数

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

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:成功
必填
data
object
数据字典
必填
current_page
int
示例:1
必填
data
array
数据列表
必填
username
string
示例:L26724 帖子作者名
必填
article_id
int
示例:3 帖子id
必填
title
string
示例:宠物 帖子标题
必填
body
string
示例:小狗 帖子内容
必填
comments_id
int
示例:2 评论id
必填
content
string
示例:谢谢夸奖 评论内容
必填
first_page_url
string
示例:http://192.168.31.243/home/myComments?page=1
必填
from
int
示例:1
必填
last_page
int
示例:1
必填
last_page_url
string
示例:http://192.168.31.243/home/myComments?page=1
必填
next_page_url
object
示例:null
必填
path
string
示例:http://192.168.31.243/home/myComments
必填
per_page
int
示例:20
必填
prev_page_url
object
示例:null
必填
to
int
示例:1
必填
total
int
示例:1
必填

说明 / 示例

{ "code": 200, "msg": "成功", "data": { "current_page": 1, "data": [ { "username": "L26724", "article_id": 3, "title": "宠物", "body": "小狗", "comments_id": 2, "content": "谢谢夸奖" } ], "first_page_url": "http://192.168.31.243/home/myComments?page=1", "from": 1, "last_page": 1, "last_page_url": "http://192.168.31.243/home/myComments?page=1", "next_page_url": null, "path": "http://192.168.31.243/home/myComments", "per_page": 20, "prev_page_url": null, "to": 1, "total": 1 } }