文档
测试

添加评论(本地)

PUT
http://localhost:3000/posts/postComment?post_id=123456

接口描述

评论帖子

请求参数

参数名
类型
描述
必填
post_id
int
示例:123456
必填
post_id
int
示例:113045
必填
reply_id
int
示例:1591386
必填
uid
int
示例:1527444633
必填
created_at
int
示例:20211151037
必填
nickname
string
示例:班尼特
必填
content
string
示例:冒险冒险
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:评论添加成功
必填
rel
object
数据字典
必填
sub_replies
array
数据列表
必填
_id
string
示例:618499b22a883393f4da18a9
必填
post_id
string
示例:123456
必填
reply_id
string
示例:1591386
必填
uid
int
示例:1527444633
必填
created_at
int
示例:20211151037
必填
nickname
string
示例:班尼特
必填
content
string
示例:冒险冒险
必填
__v
int
示例:0
必填