评论列表
获取信息评论列表
请求地址
请求方式
POST/GET
参数说明
名称 | 类型 | 是否必须 | 描述 |
---|---|---|---|
commentBasicId | int | 必填 | 信息编号 |
pageNo | int | 可选 | 页码 |
pageSize | int | 可选 | 一页显示的数量 |
返回值说明
名称 | 描述 |
---|---|
basicTitle | 评论标题 |
childComment | 子评论的集合 |
commentAudit | 发布状态:0=已发布;1=未发布 |
commentBasicId | 文章编号 |
commentContent | 评论内容 |
commentFileName | 附件文件名称 |
commentFilePath | 附件文件路径 |
commentId | 评论编号 |
commentCommentId | 父评论编号 |
commentPeopleId | 评论者编号 |
commentPicture | 评论时发布的图片,可上传多张图片 |
commentPoints | 评价打分 |
commentTime | 评论时间 |
commentType | 评论的类型:1=匿名,2=公开,默认为公开 |
commentPeople | 评论用户信息实体,包含用户所有的详细信息 |
page | 页参数,包含当前页码,总数,总页数,是否存在下一页,是否存在上一页,导航页码集合,当前页码等 |
返回值示例
{
"list": [{
"basicTitle": "东西方两大甜妞聚首巴黎时装周头排",
"childComment": null,
"commentAudit": 1,
"commentBasicId": 198,
"commentCommentId": 0,
"commentContent": "尔特让他",
"commentFileName": null,
"commentFilePath": null,
"commentId": 2,
"commentPeople": null,
"commentPeopleId": 1,
"commentPeopleUser": null,
"commentPicture": null,
"commentPoints": 0,
"commentTime": "2018-04-13",
"commentType": 1,
"createBy": 0,
"createDate": null,
"delFlag": 0,
"peopleName": "msopen",
"peoplePhone": "137*****337",
"puIcon": "",
"puNickname": "小伍",
"remarks": null,
"updateBy": 0,
"updateDate": null
}],
"page": {
"endRow": 1,
"firstPage": 1,
"hasNextPage": false,
"hasPreviousPage": false,
"isFirstPage": true,
"isLastPage": true,
"lastPage": 1,
"list": [{
"$ref": "$.list[0]"
}],
"navigatePages": 8,
"navigatepageNums": [1],
"nextPage": 0,
"orderBy": null,
"pageNum": 1,
"pageSize": 10,
"pages": 1,
"prePage": 0,
"size": 1,
"startRow": 1,
"total": 1
}
}