- 系统登录
- 验证码处理类
- mms公共接口
- 首页控制台
- 系统配置
- 系统字典
- 对象存储
- 系统角色
- 系统公告
- 系统资源
- 对象存储配置表
- 系统部门
- 系统用户
获取列表
POST
/system/role/list
请求参数
Query 参数
status
integer
状态
sort
integer
排序
remark
string
备注
tenantId
string
租户号
revision
string
乐观锁
createdBy
integer
创建者
createdTime
string
创建时间
updatedBy
integer
更新者
updatedTime
string
更新时间
id
string
角色ID
name
string
角色名称
code
string
角色权限字符串
type
integer
角色类型
defChecked
string
默认选中的节点
pageSize
integer
分页大小
pageNum
integer
当前页数
orderByColumn
string
排序列
isAsc
string
可选
Header 参数
Authorization
string
可选
默认值:
1111111111111111111
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8080/system/role/list' \
--header 'Authorization: 1111111111111111111'
返回响应
🟢200成功
application/json
Body
表格分页数据对象
total
integer <int64>
总记录数
rows
array[object (SysRoleVo) {12}]
列表数据
id
string
角色ID
name
string
角色名称
code
string
角色权限字符串
sort
integer
显示顺序
status
string
可选
type
integer
角色类型
sysFunctionVoList
array[object (SysFunctionVo) {22}]
角色拥有的资源
permissions
array[string]
用户角色资源集合
createdTime
string
可选
remark
string
可选
functionTree
array[object (AdminMenuTree) {8}]
系统资源
defChecked
array[string]
默认选中的节点
code
integer <int32>
消息状态码
msg
string
消息内容
示例
{
"total": 0,
"rows": [
{
"id": "",
"name": "",
"code": "",
"sort": 0,
"status": "",
"type": 0,
"sysFunctionVoList": [
{
"id": "",
"parentId": "",
"menuSuperior": [
""
],
"name": "",
"languageCode": "",
"permission": "",
"type": 0,
"sort": 0,
"redirectPath": "",
"path": "",
"icon": "",
"component": "",
"componentName": "",
"status": 0,
"visible": 0,
"keepAlive": 0,
"isLink": "",
"isOpenLink": 0,
"isIframe": 0,
"alwaysShow": 0,
"meta": {
"": {}
},
"children": [
{
"id": "",
"parentId": "",
"menuSuperior": [
""
],
"name": "",
"languageCode": "",
"permission": "",
"type": 0,
"sort": 0,
"redirectPath": "",
"path": "",
"icon": "",
"component": "",
"componentName": "",
"status": 0,
"visible": 0,
"keepAlive": 0,
"isLink": "",
"isOpenLink": 0,
"isIframe": 0,
"alwaysShow": 0,
"meta": {
"": {}
},
"children": []
}
]
}
],
"permissions": [
""
],
"createdTime": "",
"remark": "",
"functionTree": [
{
"id": "",
"path": "",
"name": "",
"component": "",
"componentAlias": "",
"redirect": "",
"meta": {
"": {}
},
"children": [
{
"id": "",
"path": "",
"name": "",
"component": "",
"componentAlias": "",
"redirect": "",
"meta": {
"": {}
},
"children": []
}
]
}
],
"defChecked": [
""
]
}
],
"code": 0,
"msg": ""
}
修改于 2024-11-08 01:47:17