文档
测试

发布对动态的评论

POST
/api/mc/dynamic/setComment

请求头

参数名
类型
描述
必填
XX-Token
string
用户token
必填
XX-Device-Type
string
设备类型 android、ios
必填

请求参数

参数名
类型
描述
必填
dynamicid
int
动态id
必填
touid
int
回复的评论UID
必填
commentid
int
回复的评论id(如无为0)
必填
content
string
内容
必填
type
string
类型,0文字,1语音
必填
voice
string
语音链接(可选 )
必填
length
int
语音时长(可选 )
必填

响应参数

参数名
类型
描述
必填
code
int
返回码
必填
msg
string
提示信息
必填
data
array
返回数据
必填

说明 / 示例

{ "code": 1, "msg": "成功", "data": { "id": "42" } }