查询菜单
POST
/myauth/web/getMenu
请求参数
Header 参数
token
string
必需
示例值:
ea3d9ceed86c4e738f9693ebc7efe6d1
Body 参数application/json
id
string
必需
示例
{
"id": "e70b3176-a2fa-4fc5-90f3-5abd9e2d13b8"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/myauth/web/getMenu' \
--header 'token: ea3d9ceed86c4e738f9693ebc7efe6d1' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "e70b3176-a2fa-4fc5-90f3-5abd9e2d13b8"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
success
boolean
必需
msg
string
必需
sign
string
必需
result
object
必需
id
string
必需
parentId
string
必需
level
integer
必需
sort
integer
必需
type
integer
必需
path
string
必需
title
string
必需
icon
null
必需
children
null
必需
timestamp
integer
必需
示例
{
"code": 200,
"success": true,
"msg": "查询成功",
"sign": "",
"result": {
"id": "e70b3176-a2fa-4fc5-90f3-5abd9e2d13b8",
"parentId": "d6321208-4980-46e3-b3d4-ec057009472c",
"level": 2,
"sort": 2,
"type": 2,
"path": "/DataMaintenance/CardPassManage/List",
"title": "卡密管理",
"icon": null,
"children": null
},
"timestamp": 1646918414729
}
🔴500错误
修改于 2022-03-13 06:42:36