{
"postId": 0,
"parentCommentId": 0,
"replyCommentId": 0,
"content": "string",
"site": "http://example.com",
"displayName": "string",
"email": "user@example.com"
}
curl --location --request POST 'http://localhost:8098/api/comment' \
--header 'Content-Type: application/json' \
--data-raw '{
"postId": 0,
"parentCommentId": 0,
"replyCommentId": 0,
"content": "string",
"site": "http://example.com",
"displayName": "string",
"email": "user@example.com"
}'
{
"code": 200,
"errMsg": null,
"data": {
"commentId": 1,
"postId": 4,
"parentCommentId": null,
"replyCommentId": null,
"replyDisplayName": null,
"content": "这是一个评论内容",
"site": null,
"displayName": "我不是罗大锤",
"email": "admin@loac.cc",
"createTime": 1725723158827,
"isPass": true,
"children": null
}
}