文档
测试

二手--显示评论

GET
wxapi/secondhand/comment/{id}

接口描述

二手评论显示

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:0
必填
comment
array
数据列表
必填
id
int
示例:1
必填
author
string
示例:却无法
必填
louzu
boolean
示例:true
必填
avatar
string
示例:的气味的
必填
content
string
示例:却完全无关
必填
likes
int
示例:0
必填
createTime
string
示例:2022-05-05 05:35:24
必填
shId
int
示例:1
必填
parentCommentId
int
示例:0
必填
studentId
int
示例:1
必填
replyComments
array
数据列表
必填
id
int
示例:2
必填
author
string
示例:打完给钱
必填
louzu
boolean
示例:false
必填
avatar
string
示例:但却无法
必填
content
string
示例:请问感情无关
必填
likes
int
示例:0
必填
createTime
string
示例:2022-05-05 05:35:40
必填
shId
int
示例:1
必填
parentCommentId
int
示例:1
必填
studentId
int
示例:1
必填
replyComments
array
数据列表
必填
parentComment
object
示例:null
必填
parentComment
object
示例:null
必填

说明 / 示例

``` { "msg": "success", "code": 0, "comment": [ { "id": 1, "author": "却无法", "louzu": true, "avatar": "的气味的", "content": "却完全无关", "likes": 0, "createTime": "2022-05-05 05:35:24", "shId": 1, "parentCommentId": 0, "studentId": 1, "replyComments": [ { "id": 2, "author": "打完给钱", "louzu": false, "avatar": "但却无法", "content": "请问感情无关", "likes": 0, "createTime": "2022-05-05 05:35:40", "shId": 1, "parentCommentId": 1, "studentId": 1, "replyComments": [], "parentComment": null } ], "parentComment": null } ] } ```