~~~[api]
get:/interflow_comment/get_lists
int:uid= #如需获取某个会员的帖子,此处传入会员id
int:pid= #如需获取某个评论下的评论,此处传入父评论ID
int:interflow_id= #如需获取某个帖子的评论,此处传入帖子ID
int:limit= # 每页显示数量
<<<
success
{
"current_page": 1,
"data": [
{
"id": 5,
"interflow_id": 1,
"interflow_info": {
},
"uid": 5,
"uinfo": {
},
"pid": 0,
"content": "1",
"zan_count": 0,
"created_at": "2021-03-31 21:23:14",
"updated_at": "2021-03-31 21:23:14",
"deleted_at": null
}
],
"first_page_url": "http://laraveldebug.test/interflow_comment/get_lists?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://laraveldebug.test/interflow_comment/get_lists?page=1",
"next_page_url": null,
"path": "http://laraveldebug.test/interflow_comment/get_lists",
"per_page": 10,
"prev_page_url": null,
"to": 1,
"total": 1
}
<<<
error
{
"current_page": 1,
"data": [
],
"first_page_url": "http://laraveldebug.test/interflow_comment/get_lists?page=1",
"from": null,
"last_page": 1,
"last_page_url": "http://laraveldebug.test/interflow_comment/get_lists?page=1",
"next_page_url": null,
"path": "http://laraveldebug.test/interflow_comment/get_lists",
"per_page": 10,
"prev_page_url": null,
"to": null,
"total": 0
}
~~~