10.26 ugc评论-加载回复列表.md
2.64 KB
/* Title: 10.6 加载回复列表 Sort: 106 */
请求方式: get
返回格式: JSON
请求参数说明:
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| appId | true | string | 应用ID |
| commentId | true | string | 评论ID |
| seqId | true | string | 顺序ID(第一页传0) |
| count | true | string | 每页显示条数 |
| plat | true | string | 客户端平台[i:IOS客户端,a:Android客户端] |
| sid | true | string | 用户id |
| sign | true | string | 签名 |
返回格式说明:
{
"errorCode": "0",
"errorMessage": "成功",
"data": {
"replyData": {
"replys": [
{
"replyId": "4",
"commentId": "1",
"fromSid": "xxx",
"fromNick": "asd",
"fromFace": "http://xxxxx",
"toSid": "xxx",
"toNick": "asd",
"toFace": "http://xxx",
"content": "789额",
"created_at": "2022-08-04 11:39",
"plat": "a",
"praiseCount": "0",
"isPraised": "false",
"seqId": "1659584349971"
},
{
"replyId": "2",
"commentId": "1",
"fromSid": "xxx",
"fromNick": "asd",
"fromFace": "http://xxx",
"toSid": "xxx",
"toNick": "asd",
"toFace": "http://xxx",
"content": "456哈",
"created_at": "2022-08-02 17:28",
"plat": "a",
"praiseCount": "0",
"isPraised": "false",
"seqId": "2"
}
],
"total_columns": "2",
"hasNext": "false"
}
}
}
{
"errorCode": "51001",
"errorMessage": "该评论已被删除"
}
{
errorCode:"xxx", //错误代码(非0)
errorMsg:"失败" //错误信息
}