发表评论
POST
https://only-api.com/api/comment
接口描述
发表评论
请求头
参数名
类型
描述
必填
Cookie
string
验证用户的token
必填
请求参数
application/x-www-form-urlencoded参数名
类型
描述
必填
appId
int
应用唯一标识
必填
sign
string
签名校验,仅当"签名启用"开启时传入
可选
expire
int
请求有效期,默认180(单位:秒)
可选
content
string
回复内容
必填
id
int
帖子唯一标识,id和commentId必传一个
可选
commentId
int
回复的评论唯一标识,优先级高于id
可选
响应参数
application/json参数名
类型
描述
必填
code
string
状态码
必填
result
string
结果数据
必填
msg
string
错误信息
可选
time
string
请求过期的时间戳(单位:秒)
必填