接口名称 评论一条节目ForSp(支持回复)     web domain
地址 https://api.cnlive.com/open/api2/commentServices/services/commentForChat/insert4H5
method post
返回数据 json

/* Title: 1.6 朋友圈评论或回复 Sort: 16 */

URL: https://api.cnlive.com/open/api2/commentServices/services/commentForChat/insert


请求方式: POST


返回格式: JSON


请求参数说明:

参数 必选 类型 说明
appId true string 应用ID
plat true string i=IOS客户端,a=Android客户端
id true string 主题ID
fromSid true string 评论者ID(回复时是回复者ID)
toSid true string 发布者ID(回复时是最后一个被回复者ID)
comment true string 评论内容
type true string 评论类型(comment=评论;reply=回复)
sign true string 签名

返回格式说明:

{
 "data": "",
 "errorMessage": "成功",
 "errorCode": "0"
}