文档
测试

查询全部角色,用于公共选择页面

POST
/authority/roles/roleAll?hideState=0

接口描述

查询全部角色,用于公共选择页面

请求参数

参数名
类型
描述
必填
hideState
int
状态--0=正常1=禁用
必填

响应参数JSON

```json { "successful": true, "code": 200, "message": "操作成功!", "timestamp": 1666779243859, "data": { "total": 2, "rows": [ { "id": 1, "createdBy": 0, "createdName": "超级管理员", "createdTime": "2019-10-25 13:46:00", "tenantId": 1, "name": "平台管理员", "code": "PLATFORM_ADMIN", "superRole": true, "description": "平台管理员,拥有所有数据可视权", "readonly": true, "locked": false, "orderBy": 1, "scopeType": 50 }, { "id": 2, "createdBy": 1, "createdName": "租户管理员", "createdTime": "2022-06-07 07:52:29", "tenantId": 1, "name": "租户管理员", "code": "TENANT-ADMIN", "superRole": false, "description": "租户管理员", "readonly": true, "locked": false, "orderBy": 2, "scopeType": 50 } ] } }

swagger 功能定位

![image.png](https://cos.easydoc.net/97781918/files/l9phjsx9.png) ![image.png](https://cos.easydoc.net/97781918/files/l9phknx8.png)