文档
测试

获取全部回答的评论以及带上一条回复

GET
/api/home/socialContact/listAnswerComments

接口描述

获取全部回答的评论以及每条评论带上一条回复评论

请求参数

参数名
类型
描述
必填
type
文章类型
必填
itemId
文章id
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:0
必填
data
array
数据列表
必填
commentEntity
object
评论
必填
id
int
示例:8
必填
answerType
int
文章类型
必填
answerId
int
文章id
必填
uid
string
用户id
必填
nickname
string
昵称
必填
avatarUrl
string
头像Url
必填
content
string
评论内容
必填
state
int
状态:0-待审核 1-通过 2-不通过
必填
praseCount
int
点赞数
必填
createtime
string
创建时间
必填
updatetime
string
更新时间
必填
commentReplyEntity
object
回复评论
必填
id
int
主键
必填
commentId
int
被回复的评论Id
必填
uid
string
用户openId
必填
nickname
string
用户昵称
必填
avatarUrl
string
头像url
必填
replyuserId
string
被回复的用户的openId
必填
replyuserNickname
string
被回复的用户的昵称
必填
content
string
回复内容
必填
state
int
状态:0-待审核 1-通过 2-不通过
必填
praseCount
int
点赞数
必填
createtime
string
创建时间
必填
updatetime
string
更新时间
必填

说明 / 示例

![image.png](https://cos.easydoc.net/81117541/files/ldudc1m8.png)