接口名称 回复一条评论     签名
地址 https://api.cnlive.com/open/api2/commentServices/commentForZSZ/insertReply
method post
返回数据 json

/* Title: 10.12 回复一条评论 Sort: 104 */

请求方式: POST


返回格式: JSON


请求参数说明:

参数 必选 类型 说明
appId true string 应用ID即
commentId true string 评论ID
fromSid true string 回复者ID
toSid true string 被回复者ID
comment true string 回复内容
plat true string 客户端平台[i:IOS客户端,a:Android客户端]
sign true string 签名

返回格式说明:

{
 "errorCode": "0",
 "errorMessage": "评论成功",
 "data": {
 "reply": {
 "replyId": "4289",
 "commentId": "4288",
 "fromSid": "10514228",
 "fromNick": "马亚鑫",
 "fromFace": "http://yweb0.cnliveimg.com/images/headImg/2019/1129/1575022593286.jpg",
 "toSid": "10514228",
 "toNick": "马亚鑫",
 "toFace": "http://yweb0.cnliveimg.com/images/headImg/2019/1129/1575022593286.jpg",
 "content": "好噢噢噢噢啊啊",
 "created_at": "2020-01-13 14:22",
 "plat": "a"
 }
 }
}
{
 "errorCode": "4",
 "errorMessage": "该用户已被禁言"
}
{
 "errorCode": "51001",
 "errorMessage": "该评论已被删除"
}
{
 "errorCode": "51002",
 "errorMessage": "该话题已被屏蔽或删除"
}
{
 "errorCode": "5",
 "errorMessage": "评论内容审核异常"
}
{
 "errorCode": "6",
 "errorMessage": "评论内容不合规"
}
{
 errorCode:"xxx", //错误代码(非0)
 errorMsg:"失败" //错误信息
}