- 系统登录
- 验证码处理类
- mms公共接口
- 首页控制台
- 系统配置
- 系统字典
- 对象存储
- 系统角色
- 系统公告
- 系统资源
- 对象存储配置表
- 系统部门
- 系统用户
获取详细信息
GET
/system/role/{id}
请求参数
Path 参数
id
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 GET 'http://localhost:8080/system/role/' \
--header 'Authorization: 1111111111111111111'
返回响应
🟢200成功
application/json
Body
code
integer <int32>
状态码
status
boolean
状态信息
msg
string
返回信息
data
object (SysRoleVo)
可选
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": 0,
"status": false,
"msg": "",
"data": {
"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": [
""
]
}
}
修改于 2024-11-08 01:47:17