- v1
- auth
- route
- system-manage
- miniapp
查看角色菜单
GET
/api/v1/system-manage/roles/{role_id}/menus
v1系统管理角色管理
请求参数
Path 参数
role_id
integer
必需
Header 参数
Authorization
string
可选
默认值:
Bearer {{token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/system-manage/roles//menus' \
--header 'Authorization: Bearer {{token}}'
返回响应
🟢200成功
application/json
Body
code
string
必需
msg
string
必需
data
object
必需
roleHome
string
必需
menuIds
array[integer]
必需
示例
{
"code": "0000",
"msg": "OK",
"data": {
"roleHome": "home",
"menuIds": [
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33
]
}
}
🟠422Validation Error
修改于 2024-05-17 05:45:53