{
"email": "string",
"website": "string",
"content": "string",
"name": "string",
"type": "string",
"findKey": "string",
"avatarURL": "string",
"parentCommentId": 0
}
curl --location --request POST 'https://api.itbug.shop/api/public/add-comment' \
--header 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjEiLCJleHAiOjE2OTU0MzcyMjR9.kbmW-3ddds9YwdKzKMieQOUQmjQdMZYE27N724f16Xk' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "string",
"website": "string",
"content": "string",
"name": "string",
"type": "string",
"findKey": "string",
"avatarURL": "string",
"parentCommentId": 0
}'
{
"state": 0,
"message": "string",
"data": {
"id": 0,
"email": "string",
"website": "string",
"content": "string",
"findKey": "string",
"name": "string",
"code": "string",
"avatarUrl": "string",
"parentComment": {},
"type": "string",
"blog": {
"id": 0,
"title": "string",
"content": "string",
"createTime": "2019-08-24T14:15:22Z",
"category": {
"id": 0,
"name": "string",
"logo": "string",
"intro": "string",
"createTime": "2019-08-24T14:15:22Z"
},
"author": "string",
"thumbnail": "string",
"dateString": "string",
"tags": [
{
"id": 0,
"name": "string",
"blogs": [
{}
]
}
],
"aliasString": "string",
"html": "string",
"关联的博客": "string"
},
"childCommentWithData": [
{}
],
"createDate": "2019-08-24T14:15:22Z",
"user": {
"id": 0,
"loginNumber": "string",
"nickName": "string",
"email": "string",
"intro": "string",
"picture": "string",
"phone": "string",
"city": "string",
"job": "string",
"loginTime": "2019-08-24T14:15:22Z",
"type": 0,
"vip": 0,
"wallet": 0,
"openAiTokens": 0,
"openAiFlag": true,
"roles": [
{
"id": 0,
"name": "string",
"note": "string",
"createDate": "2019-08-24T14:15:22Z",
"status": 0,
"sort": 0,
"icon": "string",
"permissions": [
{
"id": 0,
"name": "string",
"note": "string",
"roles": [
{}
]
}
],
"users": [
{}
],
"authority": "string"
}
],
"status": 0,
"relationId": "string",
"enterprise": {
"id": 0,
"name": "string",
"profile": "string",
"phone": "string",
"qq": "string",
"wechat": "string",
"enable": true,
"绑定公司": "string"
},
"enabled": true,
"username": "string",
"showName": "string",
"authorities": [
{
"authority": "string"
}
],
"accountNonExpired": true,
"accountNonLocked": true,
"credentialsNonExpired": true
},
"likeUsers": [
{
"id": 0,
"loginNumber": "string",
"nickName": "string",
"email": "string",
"intro": "string",
"picture": "string",
"phone": "string",
"city": "string",
"job": "string",
"loginTime": "2019-08-24T14:15:22Z",
"type": 0,
"vip": 0,
"wallet": 0,
"openAiTokens": 0,
"openAiFlag": true,
"roles": [
{
"id": 0,
"name": "string",
"note": "string",
"createDate": "2019-08-24T14:15:22Z",
"status": 0,
"sort": 0,
"icon": "string",
"permissions": [
{
"id": 0,
"name": "string",
"note": "string",
"roles": [
{}
]
}
],
"users": [
{}
],
"authority": "string"
}
],
"status": 0,
"relationId": "string",
"enterprise": {
"id": 0,
"name": "string",
"profile": "string",
"phone": "string",
"qq": "string",
"wechat": "string",
"enable": true,
"绑定公司": "string"
},
"enabled": true,
"username": "string",
"showName": "string",
"authorities": [
{
"authority": "string"
}
],
"accountNonExpired": true,
"accountNonLocked": true,
"credentialsNonExpired": true
}
],
"childComment": [
{}
]
},
"type": "Toast",
"redirectUrl": "/error?message=token失效&reDirectTo=/orderList",
"success": true
}