简要描述:

  • 获取圈子列表

请求URL:

plugin.circle.frontend.circle.get-circle-list

参数:

参数名 是否必须 类型 说明
is_recommend int 是否推荐1推荐
category_id int 圈子分类id
name string 圈子名称(模糊匹配)

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "success",
    "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": 12,
                "uniacid": 1,
                "status": 1,
                "is_recommend": 1,
                "is_review": 1,
                "name": "测试",
                "category_id": 1,
                "member_id": 163781,
                "is_toll": 1,
                "price": "50.00",
                "bg_img": "123",
                "circle_img": "circleimg",
                "synopsis": "简介",
                "is_open_member": 1,
                "is_review_invitation": 1,
                "is_posting": 1,
                "is_search": 1,
                "is_review_member": 0,
                "created_at": "2021-02-18 18:06:47",
                "updated_at": "2021-02-23 16:02:29",
                "deleted_at": null,
                "is_exist": 0,
                "member_count": 1,
                "invitation_count": 0
            },
            {
                "id": 13,
                "uniacid": 1,
                "status": 1,
                "is_recommend": 1,
                "is_review": 1,
                "name": "测试圈子",
                "category_id": 1,
                "member_id": 163781,
                "is_toll": 1,
                "price": "20.00",
                "bg_img": "bgimg",
                "circle_img": "circleimg",
                "synopsis": "简介",
                "is_open_member": 1,
                "is_review_invitation": 1,
                "is_posting": 1,
                "is_search": 1,
                "is_review_member": 1,
                "created_at": "2021-02-18 18:06:48",
                "updated_at": "2021-02-18 18:06:48",
                "deleted_at": null,
                "is_exist": 0,
                "member_count": 0,
                "invitation_count": 2
            },
            {
                "id": 14,
                "uniacid": 1,
                "status": 1,
                "is_recommend": 1,
                "is_review": 1,
                "name": "测试圈子",
                "category_id": 1,
                "member_id": 163781,
                "is_toll": 1,
                "price": "100.00",
                "bg_img": "bgimg",
                "circle_img": "circleimg",
                "synopsis": "简介",
                "is_open_member": 1,
                "is_review_invitation": 1,
                "is_posting": 1,
                "is_search": 1,
                "is_review_member": 1,
                "created_at": "2021-02-18 18:06:49",
                "updated_at": "2021-02-18 18:06:49",
                "deleted_at": null,
                "is_exist": 0,
                "member_count": 0,
                "invitation_count": 0
            }
        ]
    }
}

错误时返回:

{
    "result": 0,
    "msg": "error",
    "data": []
}

返回参数说明:

参数名 类型 说明
list[data][status] number 0.关闭状态,1开启状态
list[data][is_recommend] number 是否推荐:1推荐,0正常
list[data][is_review] number 审核状态:0待审核,1审核通过,2审核驳回
list[data][name] string 圈子名称
list[data][category_id] number 圈子分类ID
list[data][member_id] number 圈主的会员ID
list[data][is_toll] number 是否收费:0免费,1付费
list[data][price] number 加入圈子费用
list[data][bg_img] string 背景图片
list[data][circle_img] string 圈子图片
list[data][synopsis] string 简介
list[data][is_open_member] number 是否开放成员列表:0否,1是
list[data][is_review_invitation] number 帖子是否审核:0否,1是
list[data][is_posting] number 是否除圈主外其他能否发帖:0不能,1能
list[data][is_search] number 圈子是否可以被搜索到:0否,1是
list[data][is_review_member] number 成员加入是否审核:0否,1是
list[data][is_exist] number 当前会员是否已经加入圈子
list[data][member_count] number 圈子会员数量
list[data][invitation_count] number 圈子帖子+视频数量
list[data][created_at] string 创建时间
list[data][updated_at] string 修改时间
list[data][deleted_at] string 删除时间

备注:

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