文档
测试

发表帖子评论或回复

POST
https://leexan.net.cn/vod/post/publishRemark

请求参数

参数名
类型
描述
必填
content
string
html
必填
postId
string
帖子id
必填
type
int
类型,1表示评论,2表示回复
必填
superiorId
string
发表评论不用传,发表回复传评论id
必填
repliedId
string
发表评论不用传,发表回复传回复的人的id
必填

成功返回

参数名
类型
描述
必填
success
int
1
必填
remark
评论或回复
必填
id
string
id
必填
postId
string
帖子Id
必填
memberId
string
用户id
必填
nickName
string
用户名
必填
avatar
string
头像
必填
repliedId
string
回复的人的id
必填
repliedNickName
string
回复的人的用户名
必填
repliedAvatar
string
回复的人的头像
必填
content
string
回复内容
必填
time
date
时间
必填
superiorId
string
评论的id,如果是-1表示这是一条评论
必填

失败返回

参数名
类型
描述
必填
success
int
0
必填
msg
string
错误信息
必填