获取评论
GET
http://localhost:520/api/comment?type=me
请求参数
参数名
类型
描述
必填
type
string
示例:me 可选
必填
响应参数
参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:sucess
必填
id
int
示例:1
必填
status
boolean
示例:false 消息状态 是否已读
必填
projectId
int
示例:1 项目id
必填
fromId
int
示例:2 发布评论的用户id
必填
toId
int
示例:1 被评论的用户id
必填
content
string
示例:好棒呀 评论内容
必填
created_at
string
示例:2020-11-25T11:14:31.000Z
必填
updated_at
string
示例:2020-11-25T11:14:33.000Z
必填
id
int
示例:2
必填
userName
string
示例:beishi
必填
nickname
string
示例:add
必填
image
object
示例:null
必填
id
int
示例:1
必填
userName
string
示例:aiwa
必填
nickname
string
示例:aiwa
必填
image
string
示例:xxx
必填