Post 发布评论
POST
/comment/post请求参数
Cookie 参数
qf_token
string
用户凭证
示例值:
671fb1e2-d62e-470d-b2bd-094b60b86e53
Body 参数multipart/form-data
content
内容
示例值:
Great!
threadId
TID
示例值:
1
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
200
msg
string
success
data
object
数据
id
integer
CID
postTime
string
发布时间
up
boolean
是否置顶
publisher
object
作者
content
string
内容
thread
object
所属帖子
示例
{
"code": 0,
"msg": "string",
"data": {
"id": 0,
"postTime": "string",
"up": true,
"publisher": {
"id": 0,
"userName": "string",
"email": "string",
"admin": true,
"official": "string",
"introduction": "string",
"avatarUrl": "string"
},
"content": "string",
"thread": {
"id": 0,
"title": "string",
"publisher": {
"id": 0,
"userName": "string",
"email": "string",
"admin": true,
"official": "string",
"introduction": "string",
"avatarUrl": "string"
},
"postTime": "string",
"content": "string",
"board": {
"id": 0,
"name": "string",
"priorityLevel": 0,
"description": "string"
},
"likeList": "string"
}
}
}
最后修改时间: 3 年前