1.URL

http://124.223.60.234:8080/system/asset/user/queryRoleInfoList

2.请求参数

2.1请求头

在Headers里面增加token:对应登录验证成功后,data里面对应的tokenId

2.2.参数示例

{
    "ids":["F940B79790004404AAC277418FC71C5E"],
    "key":"",
    "pageNum":1,
    "pageSize":20
}

2.3.参数说明

字段 类型 说明 是否必须
id String 组织唯一标识 Y

3.接口应答

3.1.返回示例

{
    "code": 200,
    "message": "Operation succeeded",
    "data": {
        "total": 3,
        "size": 1,
        "data": [
            {
                "id": "14DB4865025B4A4197C69D8F1D436983",
                "orgId": "F940B79790004404AAC277418FC71C5E",
                "orgName": "LEAVE",
                "roleName": "simple",
                "descInfo": "客户试用",
                "status": "1",
                "createTime": "2023-07-20 12:31:18",
                "creatorId": "F940B79790004404AAC277418FC71C5D",
                "creator": "LEAVE",
                "roleMenuList": null
            },
            {
                "id": "A58F942A8F094804994E8DC9FB239E36",
                "orgId": "F940B79790004404AAC277418FC71C5E",
                "orgName": "LEAVE",
                "roleName": "customer",
                "descInfo": "客户",
                "status": "1",
                "createTime": "2023-07-20 12:29:37",
                "creatorId": "F940B79790004404AAC277418FC71C5D",
                "creator": "LEAVE",
                "roleMenuList": null
            },
            {
                "id": "DF9C194223CD453980CECC4348581563",
                "orgId": "F940B79790004404AAC277418FC71C5E",
                "orgName": "LEAVE",
                "roleName": "administrator",
                "descInfo": "系统管理员",
                "status": "1",
                "createTime": "2023-01-10 10:13:51",
                "creatorId": "F940B79790004404AAC277418FC71C5D",
                "creator": "LEAVE",
                "roleMenuList": null
            }
        ]
    }
}

3.2.返回结果说明

字段 类型 说明
code int 返回状态
message String 返回结果描述
data object 返回结果体

data说明

字段 类型 说明
total String 总条数
size String 多少页
data object 每页的结果集合

data说明

字段 类型 说明
id String 角色唯一标识
orgId String 公司组织ID
orgName String 公司组织名称
roleName String 角色名称
descInfo String 角色描述
status String 角色状态(0:禁用;1:启用)
createTime String 创建时间
creatorId String 创建人唯一标识
creator String 创建人
Author:admin  Create time:2023-04-16 19:43
Last editor:admin  Update time:2025-11-24 14:16