Authorization: Bearer ********************
curl --location --request GET '/comment/comment'
{
"code": 0,
"data": {
"nowPage": 0,
"pageSize": 0,
"hasMore": true,
"total": 0,
"rows": [
{
"id": 0,
"article_id": 0,
"parent_comment_id": 0,
"reply_comment_id": 0,
"from_user_id": 0,
"to_user_id": 0,
"content": "string",
"children_comment_total": 0,
"star_total": 0,
"ua": "string",
"ip": "string",
"ip_data": "string",
"created_at": "string",
"updated_at": "string",
"deleted_at": null,
"is_star": true,
"from_user": {
"id": 0,
"username": "string",
"status": 0,
"avatar": "string",
"desc": "string",
"created_at": "string",
"updated_at": "string",
"deleted_at": null,
"roles": [
{
"id": 0,
"role_name": "string",
"role_value": "string",
"type": 0,
"priority": 0,
"p_id": 0,
"created_at": "string",
"updated_at": "string",
"deleted_at": null
}
]
},
"to_user": null,
"children_comment": [
{
"id": 0,
"article_id": 0,
"parent_comment_id": 0,
"reply_comment_id": 0,
"from_user_id": 0,
"to_user_id": 0,
"content": "string",
"children_comment_total": 0,
"star_total": 0,
"ua": "string",
"ip": "string",
"ip_data": "string",
"created_at": "string",
"updated_at": "string",
"deleted_at": null,
"is_star": true,
"from_user": {
"id": 0,
"username": "string",
"status": 0,
"avatar": "string",
"desc": "string",
"created_at": "string",
"updated_at": "string",
"deleted_at": null
},
"to_user": {
"id": 0,
"username": "string",
"status": 0,
"avatar": "string",
"desc": "string",
"created_at": "string",
"updated_at": "string",
"deleted_at": null
},
"reply_comment": {
"id": 0,
"article_id": 0,
"parent_comment_id": 0,
"reply_comment_id": 0,
"from_user_id": 0,
"to_user_id": 0,
"content": "string",
"children_comment_total": 0,
"star_total": 0,
"ua": "string",
"ip": "string",
"ip_data": "string",
"created_at": "string",
"updated_at": "string",
"deleted_at": null
}
}
],
"is_star_id": null
}
],
"childrenPageSize": 0,
"sql_duration": 0
},
"message": "string"
}