接口名称 |
加载评论列表V2
web domain
|
地址 |
https://api.cnlive.com/open/api2/commentServices/commentForTopic/loadCommentsV2H5 |
method |
post |
返回数据 |
json
|
/* Title: 10.9 加载评论列表 Sort: 103 */
请求方式: get
返回格式: JSON
请求参数说明:
参数 |
必选 |
类型 |
说明 |
appId |
true |
string |
应用ID |
topicId |
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: "5",
hasNext: "false",
comments: [
{
comment: {
commentId: "5",
topicId: "51",
uid: "10514228",
nick: "马小马",
facepath: "http://yweb0.cnliveimg.com/images/headImg/2020/0529/1590744775043.jpg",
content: "电闪雷鸣4",
created_at: "2020-06-10 11:31",
plat: "a",
seqId: "15917598979870",
isBestComment: "true"
},
replyData: {
replyCount: "0"
}
},
{
comment: {
commentId: "4",
topicId: "51",
uid: "10514228",
nick: "马小马",
facepath: "http://yweb0.cnliveimg.com/images/headImg/2020/0529/1590744775043.jpg",
content: "电闪雷鸣3",
created_at: "2020-06-10 11:31",
plat: "a",
seqId: "15917598918980",
isBestComment: "true"
},
replyData: {
replyCount: "0"
}
},
{
comment: {
commentId: "3",
topicId: "51",
uid: "10514228",
nick: "马小马",
facepath: "http://yweb0.cnliveimg.com/images/headImg/2020/0529/1590744775043.jpg",
content: "电闪雷鸣2",
created_at: "2020-06-10 11:31",
plat: "a",
seqId: "15917598846620",
isBestComment: "true"
},
replyData: {
replyCount: "0"
}
},
{
comment: {
commentId: "7",
topicId: "51",
uid: "10514228",
nick: "马小马",
facepath: "http://yweb0.cnliveimg.com/images/headImg/2020/0529/1590744775043.jpg",
content: "熊猫胖砸",
created_at: "2020-06-10 14:24",
plat: "a",
seqId: "1591770276808",
isBestComment: "false"
},
replyData: {
replyCount: "0"
}
},
{
comment: {
commentId: "6",
topicId: "51",
uid: "10514228",
nick: "马小马",
facepath: "http://yweb0.cnliveimg.com/images/headImg/2020/0529/1590744775043.jpg",
content: "啦啦啦",
created_at: "2020-06-10 11:48",
plat: "a",
seqId: "1591760890409",
isBestComment: "false"
},
replyData: {
replyCount: "0"
}
}
]
}
}
{
errorCode:"xxx", //错误代码(非0)
errorMsg:"失败" //错误信息
}