接口名称 |
我的评论通知列表
签名
|
地址 |
https://api.cnlive.com/open/api2/commentServices/commentForTopic/loadNotifyComments |
method |
post |
返回数据 |
json
|
/* Title: 10.7 我的评论回复通知列表 Sort: 107 */
请求方式: POST
返回格式: JSON
请求参数说明:
参数 |
必选 |
类型 |
说明 |
appId |
true |
string |
应用ID即 |
sid |
true |
string |
用户ID |
seqId |
true |
string |
顺序ID(第一页传0) |
count |
true |
string |
每页显示条数 |
plat |
true |
string |
客户端平台[i:IOS客户端,a:Android客户端] |
sign |
true |
string |
签名 |
返回格式说明:
{
"errorCode": "0",
"errorMessage": "成功",
"data": {
"total_columns": "2",
"hasNext": "false",
"comments": [{
"comment": {
"commentId": "18",
"topicId": "1111",
"uid": "10514228",
"nick": "mayaxin",
"facepath": "http://yweb0.cnliveimg.com/images/headImg/2019/1129/1575022593286.jpg",
"content": "话题的第5条评论",
"created_at": "2019-12-24 09:24",
"plat": "a",
"seqId": "18"
},
"replyData": {
"replys": [{
"replyId": "21",
"commentId": "18",
"fromSid": "10514228",
"fromNick": "mayaxin",
"fromFace": "http://yweb0.cnliveimg.com/images/headImg/2019/1129/1575022593286.jpg",
"toSid": "145680",
"toNick": "国亚奇",
"toFace": "http://yweb0.cnliveimg.com/images/headImg/2019/1120/1574240741728.jpg",
"content": "回复第3条",
"created_at": "2019-12-24 09:26",
"plat": "a"
}, {
"replyId": "19",
"commentId": "18",
"fromSid": "145680",
"fromNick": "国亚奇",
"fromFace": "http://yweb0.cnliveimg.com/images/headImg/2019/1120/1574240741728.jpg",
"toSid": "10514228",
"toNick": "mayaxin",
"toFace": "http://yweb0.cnliveimg.com/images/headImg/2019/1129/1575022593286.jpg",
"content": "回复第1条",
"created_at": "2019-12-24 09:26",
"plat": "a"
}],
"replyCount": "2"
},
"topicId": "1111",
"topicTitle": "话题名"
"spId": "825"
}, {
"comment": {
"commentId": "11",
"topicId": "60_topic2",
"uid": "145680",
"nick": "国亚奇",
"facepath": "http://yweb0.cnliveimg.com/images/headImg/2019/1120/1574240741728.jpg",
"content": "话题的第3条评论",
"created_at": "2019-12-23 15:58",
"plat": "a",
"seqId": "11"
},
"replyData": {
"replys": {
"replyId": "12",
"commentId": "11",
"fromSid": "145680",
"fromNick": "国亚奇",
"fromFace": "http://yweb0.cnliveimg.com/images/headImg/2019/1120/1574240741728.jpg",
"toSid": "145680",
"toNick": "国亚奇",
"toFace": "http://yweb0.cnliveimg.com/images/headImg/2019/1120/1574240741728.jpg",
"content": "回复第11条",
"created_at": "2019-12-23 15:59",
"plat": "a"
},
"replyCount": "1"
},
"topicId": "60_topic2",
"topicTitle": "话题名"
"spId": "825"
}]
}
}
{
errorCode:"xxx", //错误代码(非0)
errorMsg:"失败" //错误信息
}