On this page
获取指定评论的回复列表
接口URL
https://sqapi2.dishawang.com/api/v1/comment/:comment_id/replies/:page
请求方式
GET
Content-Type
form-data
路径变量
参数名 | 示例值 | 参数描述 |
---|---|---|
comment_id | 2617 | 评论ID |
page | 1 | 页码 |
成功响应示例
json
{
"code": 1,
"msg": "ok",
"data": {
"total": 3,
"per_page": 10,
"current_page": 1,
"last_page": 1,
"data": [
{
"id": 2622,
"article_id": 1766,
"user_id": 1678,
"reply_count": 0,
"content": "哈哈哈",
"comment_id": 2617,
"quote": {
"content": "哈哈哈",
"user_id": 1678,
"name": "Comment",
"avatar": "http://127.0.0.1:8000/storage/avatar/6593cc021c4b0.jpeg"
},
"create_time": "2024-01-03 00:50:45",
"avatar": "http://sqapi2.dishawang.com/storage/avatar/6593cc021c4b0.jpeg",
"name": "哈哈哈"
},
{
"id": 2621,
"article_id": 1766,
"user_id": 1678,
"reply_count": 0,
"content": "哈哈哈",
"comment_id": 2617,
"quote": {
"content": "哈哈哈",
"user_id": 1678,
"name": "Comment",
"avatar": "http://127.0.0.1:8000/storage/avatar/6593cc021c4b0.jpeg"
},
"create_time": "2024-01-03 00:50:28",
"avatar": "http://sqapi2.dishawang.com/storage/avatar/6593cc021c4b0.jpeg",
"name": "哈哈哈"
},
{
"id": 2620,
"article_id": 1766,
"user_id": 1678,
"reply_count": 0,
"content": "哈哈哈",
"comment_id": 2617,
"quote": null,
"create_time": "2024-01-03 00:50:08",
"avatar": "http://sqapi2.dishawang.com/storage/avatar/6593cc021c4b0.jpeg",
"name": "哈哈哈"
}
]
}
}