简要描述:

  • 评论帖子

请求URL:

plugin.circle.frontend.circle-invitation.get-comment-list

参数名 是否必须 类型 说明
invitation_id int 帖子视频id

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "获取成功",
    "data": {
        "total": 3,
        "per_page": 20,
        "current_page": 1,
        "last_page": 1,
        "next_page_url": null,
        "prev_page_url": null,
        "from": 1,
        "to": 3,
        "data": [
            {
                "id": 2,
                "uniacid": 1,
                "member_id": 163781,
                "subordinate_id": 0,
                "parent_id": 0,
                "invitation_id": 5,
                "comment": "评论",
                "updated_at": "2021-02-20 15:59:30",
                "created_at": "2021-02-20 15:59:30",
                "deleted_at": null,
                "nickname": "卡卡",
                "avatar": "http://thirdwx.qlogo.cn/mmopen/cEM5JWyl9FekStW90tfVx0KaicTdGiaic8GaL9ibUAPEHB1ib5kbhM1INYua7NSibBF4hFJpdE3fpdr8kgqnRxm1RTc8nWRYe4CFoia/132",
                "has_many_comment": [
                    {
                        "id": 1,
                        "uniacid": 1,
                        "member_id": 163781,
                        "subordinate_id": 3,
                        "parent_id": 2,
                        "invitation_id": 5,
                        "comment": "评论",
                        "updated_at": "2021-02-20 15:59:22",
                        "created_at": "2021-02-20 15:59:22",
                        "deleted_at": null,
                        "nickname": "卡卡",
                        "avatar": "http://thirdwx.qlogo.cn/mmopen/cEM5JWyl9FekStW90tfVx0KaicTdGiaic8GaL9ibUAPEHB1ib5kbhM1INYua7NSibBF4hFJpdE3fpdr8kgqnRxm1RTc8nWRYe4CFoia/132",
                        "subordinate_name": "卡卡"
                    },
                    {
                        "id": 3,
                        "uniacid": 1,
                        "member_id": 163781,
                        "subordinate_id": 0,
                        "parent_id": 2,
                        "invitation_id": 5,
                        "comment": "评论",
                        "updated_at": "2021-02-20 15:59:31",
                        "created_at": "2021-02-20 15:59:31",
                        "deleted_at": null,
                        "nickname": "卡卡",
                        "avatar": "http://thirdwx.qlogo.cn/mmopen/cEM5JWyl9FekStW90tfVx0KaicTdGiaic8GaL9ibUAPEHB1ib5kbhM1INYua7NSibBF4hFJpdE3fpdr8kgqnRxm1RTc8nWRYe4CFoia/132",
                        "subordinate_name": "卡卡"
                    }
                ]
            },
            {
                "id": 4,
                "uniacid": 1,
                "member_id": 163781,
                "subordinate_id": 0,
                "parent_id": 0,
                "invitation_id": 5,
                "comment": "评论",
                "updated_at": "2021-02-20 16:04:06",
                "created_at": "2021-02-20 16:04:06",
                "deleted_at": null,
                "nickname": "卡卡",
                "avatar": "http://thirdwx.qlogo.cn/mmopen/cEM5JWyl9FekStW90tfVx0KaicTdGiaic8GaL9ibUAPEHB1ib5kbhM1INYua7NSibBF4hFJpdE3fpdr8kgqnRxm1RTc8nWRYe4CFoia/132",
                "has_many_comment": []
            },
            {
                "id": 5,
                "uniacid": 1,
                "member_id": 163781,
                "subordinate_id": 0,
                "parent_id": 0,
                "invitation_id": 5,
                "comment": "评论",
                "updated_at": "2021-03-01 11:55:50",
                "created_at": "2021-03-01 11:55:50",
                "deleted_at": null,
                "nickname": "卡卡",
                "avatar": "http://thirdwx.qlogo.cn/mmopen/cEM5JWyl9FekStW90tfVx0KaicTdGiaic8GaL9ibUAPEHB1ib5kbhM1INYua7NSibBF4hFJpdE3fpdr8kgqnRxm1RTc8nWRYe4CFoia/132",
                "has_many_comment": []
            }
        ]
    }
}

返回参数has_many_comment说明:

参数名 类型 说明
subordinate_name string 回复的用户昵称
is_current_member int 是否当前用户
is_like int 是否点赞
link_count int 点赞数量

错误时返回:

{
    "result": 0,
    "msg": "获取失败",
    "data": []
}

返回参数说明:

备注:

  • 更多返回错误代码请看首页的错误代码描述