文档
测试

新闻评论

POST
pet/news/news_comments

请求参数

参数名
类型
描述
必填
news_id
int
新闻ID
必填
page
必填
rows
必填

响应参数

参数名
类型
描述
必填
数组
array
评论列表
必填
id
int
评论ID
必填
user_id
int
用户ID
必填
username
string
用户名
必填
face_img
string
用户头像
必填
comment
string
评论内容
必填
time
string
评论时间
必填
thumb_up
int
点赞数
必填
is_up
int
1 已点过赞
必填
child
array
循环 递归 id user_id username .......
必填
id
int
评论ID
必填
。。。。。
必填
。。。。。
必填
child
array
。。。。
必填
id
。。。。
必填
。。。
必填

说明 / 示例

[{"id":1,"user_id":2,"username":"ss","face_img":null,"comment":"hao还哦的是多年生飒飒\r\n","time":"389276-10-21 11:13","thumb_up":5,"is_up":null,"child":[{"id":2,"user_id":1,"username":"hank","face_img":null,"comment":"第二层评论 hanki\r\n","time":"1970-01-01 08:00","thumb_up":13,"comment_id":1,"is_up":null,"child":[]}]}]