10.13 三级评论-加载回复列表.md 2.96 KB

/* Title: 10.13 加载回复列表 Sort: 106 */

请求方式: get


返回格式: JSON


请求参数说明:

参数 必选 类型 说明
appId true string 应用ID
commentId true string 评论ID
replyId true string 回复ID(第一页传0)
count true string 每页显示条数
plat true string 客户端平台[i:IOS客户端,a:Android客户端]
sign true string 签名

返回格式说明:

{
    "errorCode": "0",
    "errorMessage": "成功",
    "data": {
        "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"
        },
        "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"
                }
            ],
            "total_columns": "2",
            "hasNext": "false"
        }
    }
}
{
    "errorCode": "51001",
    "errorMessage": "该评论已被删除"
}
{
    errorCode:"xxx",   //错误代码(非0)
    errorMsg:"失败"   //错误信息
}