获取评论的回复接口

地址:

/Article/GetMoreReComment

方法:

GET

是否需要登录:

参数说明:

参数名称 是否必选 参数类型 参数描述
commentId int 评论id
offset int 分页开始头回复id
size int 加载回复个数

请求示例:

curl -d 'commentId=1&offset=3&size=10' '/Article/GetMoreReComment'

返回值说明:

参数名称 是否必选 参数类型 参数描述
webUser WebUser 回复用户信息类
webUser.id Integer 回复用户id
webUser.username string 回复用户名称
webUser.nickname string 回复用户昵称
parentUser WebUser 回复父级用户信息类
parentUser.id Integer 回复父级用户id
parentUser.username string 回复父级用户名称
parentUser.nickname string 回复父级用户昵称
articleComment ArticleComment 回复评论信息类
articleComment.id Integer 评论id
articleComment.createTime string 评论创建时间
articleComment.updateTime string 评论上次更新时间
articleComment.comment string 评论内容
articleComment.parentsCommentId string 父级评论路径

返回示例:

{"code":200,"message":"请求成功","data":[{"webUser":{"username":"liuchong","nickname":"草帽","id":1},"parentUser":{"username":"zuoxiaolong","nickname":"小弟","id":3},"articleComment":{"webUserId":1,"articleId":1,"comment":"你好嗯嗯这是评论1回复1回复1","replyCommentId":4,"parentsCommentId":"0,1,4,","id":7,"createTime":"2016-05-15 23:07:13","updateTime":"2016-06-11 15:58:54"}},{"webUser":{"username":"zuoxiaolong","nickname":"小弟","id":3},"parentUser":{"username":"zuoxiaolong","nickname":"小弟","id":3},"articleComment":{"webUserId":3,"articleId":1,"comment":"你好嗯嗯这是评论1回复1回复2","replyCommentId":4,"parentsCommentId":"0,1,4,","id":8,"createTime":"2016-05-15 23:07:13","updateTime":"2016-06-13 17:33:59"}},{"webUser":{"username":"liuchong@qq.com","nickname":"大神","id":4},"parentUser":{"username":"zuoxiaolong","nickname":"小弟","id":3},"articleComment":{"webUserId":4,"articleId":1,"comment":"你好嗯嗯这是评论1回复1回复2回复1","replyCommentId":8,"parentsCommentId":"0,1,4,8,","id":9,"createTime":"2016-05-15 23:07:13","updateTime":"2016-06-13 17:34:00"}},{"webUser":{"username":"liuchong@qq.com","nickname":"大神","id":4},"parentUser":{"username":"zuoxiaolong","nickname":"小弟","id":3},"articleComment":{"webUserId":4,"articleId":1,"comment":"我来当你的回复了","replyCommentId":6,"parentsCommentId":"0,1,6,","id":24,"createTime":"2016-06-21 15:12:35","updateTime":"2016-06-21 15:12:35"}},{"webUser":{"username":"liuchong@qq.com","nickname":"大神","id":4},"parentUser":{"username":"zuoxiaolong","nickname":"小弟","id":3},"articleComment":{"webUserId":4,"articleId":1,"comment":"你是个傻子么","replyCommentId":6,"parentsCommentId":"0,1,6,","id":25,"createTime":"2016-06-21 15:22:01","updateTime":"2016-06-21 15:22:01"}}]}