获取用户权限
请求方式: POST
请求路径:
https://prod.open-api.mysre.cn/openapi/guangming/get-user-permissions
| 参数名 | 参数位置 | 参数类型 | 必填 | 默认值 | 示例 | 描述 |
|---|---|---|---|---|---|---|
| mobile | body | string | 是 | 电话号码 | ||
| tenant_code | body | string | 是 | 租户CODE | ||
| sso_token | body | string | 是 | 从中台获取到的access_token,用于中台权限校验 |
{
"mobile": "10086",
"tenant_code": "bre",
"sso_token": "abcdef29992def28"
}
{
"request_id": "39eef715-3cc6-2058-c223-7694ba3b0b29",
"errcode": 0,
"errmsg": "ok",
"data": [
"business",
"msg",
"specific_material",
"change_type_visa",
"change_type_design",
"outputvalue",
"payment",
"recyclebin",
"third_group_bxgl",
"third_group_jgcgl",
"third_bxgl",
"third_clsq",
"third_ddgl",
"third_ysdgl",
"contract_settlement",
"contract_settlement_zhuzhai",
"contract_settlement_common"
]
}
| 参数名 | 参数类型 | 描述 |
|---|---|---|
| request_id | string | 请求ID |
| errcode | number | 错误码 |
| errmsg | string | 错误信息 |
| data | array | 权限集 |
{
"request_id": "39f77896-29a0-7669-46d1-68b0bc28cfee",
"errcode": 1,
"errmsg": "xxx",
"data": []
}
| 参数名 | 参数类型 | 描述 |
|---|---|---|
| request_id | string | 请求ID |
| errcode | number | 错误码 |
| errmsg | string | 错误信息 |
| data | array | 返回数据集 |