- v1
- auth
- route
- system-manage
- miniapp
创建菜单
POST
/api/v1/system-manage/menus
v1系统管理菜单管理
请求参数
Header 参数
Authorization
string
可选
默认值:
Bearer {{token}}
Body 参数application/json
menuName
string
Menuname
menuType
enum<string>
菜单类型
枚举值:
12
routeName
string
Routename
routePath
string
Routepath
pathParam
Pathparam
Any of
<= 200 字符
query
Query
Any of
buttons
Buttons
Any of
buttonCode
string
Buttoncode
buttonDesc
string
Buttondesc
order
Order
Any of
component
Component
Any of
parentId
Parentid
Any of
i18nKey
I18Nkey
Any of
icon
Icon
Any of
iconType
图标类型
Any of
枚举值:
12
href
Href
Any of
multiTab
Multitab
Any of
keepAlive
Keepalive
Any of
hideInMenu
Hideinmenu
Any of
activeMenu
Activemenu
Any of
fixedIndexInTab
Fixedindexintab
Any of
status
Status
Any of
redirect
Redirect
Any of
props
Props
Any of
constant
Constant
Any of
示例
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/system-manage/menus' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200Successful Response
application/json
Body
No schema defined
示例
null
🟠422Validation Error
修改于 2024-05-17 05:45:21