Skip to content
On this page

更新权限菜单 API

基本信息

接口URL:/manage/v1/menu/update/{id}

请求方式:PUT

Content-Type:application/json

请求参数

Header 参数及说明

参数名类型示例值是否必填说明
Authorizationstringbearer token是token

Query 参数及说明

参数名类型示例值是否必填说明
menu_typenumber[0:目录;1:菜单;2:权限]是菜单类型
menu_titlestring``是菜单中文名称
parent_id`numberstring`0是
menu_namestring-是唯一英文标识,前端路由 name
is_showBoolean`truefalse`是
keep_aliveBoolean`truefalse`是
menu_ordernumber0否排序
menu_routerstring-否前端路由 path
menu_iconstring-否图标
menu_componentstring-否前端文件路径
api_pathstring-否api_path

响应示例

{
    "code": 200,
    "message": "更新成功",
    "data": {}
}

根据 MIT 许可证发布。