用户组-列表

接口地址:/console/grouplist

请求方式 get

参数:

  • q 搜索关键字(可选)

  • status 0-禁用,1-启用

  • page 分页页码 (首次不传或传0)(可选)

返回格式:

{
    "code": 1,
    "data": {
        "group_list":[
            {
                "id": 1,
                "name": "超级管理员",
                "status": "0 ##0-禁用,1-启用"
            },
            {
                "id": 2,
                "name": "xxx",
                "status": "1 ##0-禁用,1-启用"
            }
        ],
        "page": 1,
        "total_num": 120
    },
    "msg": "success"
}

Last updated

Was this helpful?