comments - TimYi/FengHuang GitHub Wiki

请求URL

http://101.200.229.135:8080/api/comments

请求方式

GET  

请求参数

sourceid:来源id

返回参数

id:id
content:评论内容
column:栏目标题
replyNumber:回复数量
createTime:创建时间
reply:回复对象 {  
    id:被回复评论id
    name:被回复用户的名称
}

返回示例

{
"result": {
    "totalCount": 1,
    "totalPages": 1,
    "page": 0,
    "size": 8,
    "result": [
        {
            "id": "404040e64dc1c189014dc1c197450001",
            "content": null,
            "reply": null,
            "user": {
                "id": "404040e64d89ca84014d89cb492d0000",
                "username": "18612444098",
                "verified": true,
                "cnname": null,
                "ename": null,
                "avatar": null,
                "sex": null,
                "birthDay": null,
                "astro": null
            },
            "ip": null,
            "sourceid": "123456",
            "url": null
        }
    ]
},
"status": "OK"
}