文档
测试

获取评论信息

POST
https://only-api.com/api/getComment

接口描述

获取评论信息

请求参数

application/x-www-form-urlencoded
参数名
类型
描述
必填
appId
int
应用唯一标识
必填
sign
string
签名校验,仅当"签名启用"开启时传入
可选
expire
int
请求有效期,默认180(单位:秒)
可选
id
int
评论唯一标识
必填

响应参数

application/json
参数名
类型
描述
必填
code
string
状态码
必填
result
string
结果数据
必填
user
string
评论用户昵称
必填
head
string
评论用户头像
必填
userId
int
评论用户唯一标识
必填
postId
int
评论所属的帖子唯一标识
必填
content
string
评论内容
必填
time
string
发表时间
必填
commentId
int
回复的评论唯一标识
可选
msg
string
错误信息
可选
time
string
请求过期的时间戳(单位:秒)
必填