文档
测试

根据id获取帖子评论(本地数据库)

GET
http://localhost:3000/posts/postComment?page=2&post_id=123

接口描述

根据帖子id,返回本地数据库评论,一页10条

请求参数

参数名
类型
描述
必填
page
int
示例:2
必填
post_id
int
示例:123
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:评论查询成功
必填
rel
array
数据列表
必填
sub_replies
array
数据列表
必填
_id
string
示例:6184a2533dd4e19f70867560
必填
post_id
string
示例:123
必填
reply_id
string
示例:1591386
必填
uid
int
示例:1527444633
必填
created_at
int
示例:20211151037
必填
nickname
string
示例:班尼特1234567802244
必填
content
string
示例:冒险冒险1234568902244
必填
__v
int
示例:0
必填