菜单路由
GET
/api/system/menu/route请求参数
无
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
array [object {17}]
必需
id
integer
必需
pid
integer
必需
menuName
string
必需
menuIcon
string
必需
menuType
string
必需
menuSort
integer
必需
component
string
必需
paths
string
必需
perms
string
必需
selected
string
必需
params
string
必需
isShow
integer
必需
isCache
integer
必需
isDisable
integer
必需
updateTime
string
必需
createTime
string
必需
children
array [object {16}]
必需
示例
{
"code": 200,
"msg": "成功",
"data": [
{
"id": 326,
"pid": 0,
"menuName": "test",
"menuIcon": "",
"menuType": "M",
"menuSort": 0,
"component": "",
"paths": "",
"perms": "system:menu:add",
"selected": "",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"updateTime": "2022-04-18 12:15:05",
"createTime": "2022-04-18 12:15:05"
},
{
"menuIcon": "icon",
"menuName": "管理",
"pid": 3,
"updateTime": "2022-04-18 17:21:58",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"component": "",
"createTime": "2022-04-18 17:21:58",
"paths": "",
"menuType": "M",
"perms": "kk",
"id": 328,
"selected": "",
"menuSort": 10
},
{
"menuIcon": "icon",
"menuName": "管理",
"pid": 3,
"updateTime": "2022-04-18 17:22:23",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"component": "",
"createTime": "2022-04-18 17:22:23",
"paths": "",
"menuType": "M",
"perms": "kk",
"id": 329,
"selected": "",
"menuSort": 10
},
{
"menuIcon": "",
"menuName": "权限",
"pid": 0,
"updateTime": "2022-04-12 08:00:00",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"children": [
{
"menuIcon": "",
"menuName": "管理员",
"pid": 1,
"updateTime": "2022-04-12 08:00:00",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"component": "/system/admin/index",
"createTime": "2022-04-12 08:00:00",
"paths": "",
"menuType": "C",
"perms": "",
"id": 2,
"selected": "",
"menuSort": 200
},
{
"menuIcon": "",
"menuName": "角色管理",
"pid": 1,
"updateTime": "2022-04-12 08:00:00",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"component": "/system/role/index",
"createTime": "2022-04-12 08:00:00",
"paths": "",
"menuType": "C",
"perms": "",
"id": 9,
"selected": "",
"menuSort": 200
},
{
"menuIcon": "",
"menuName": "菜单管理",
"pid": 1,
"updateTime": "2022-04-12 08:00:00",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"component": "/system/menu/index",
"createTime": "2022-04-12 08:00:00",
"paths": "",
"menuType": "C",
"perms": "",
"id": 15,
"selected": "",
"menuSort": 200
}
],
"paths": "",
"menuType": "M",
"perms": "",
"id": 1,
"selected": "",
"menuSort": 1000
},
{
"menuIcon": "",
"menuName": "系统监控",
"pid": 0,
"updateTime": "2022-04-12 08:00:00",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"children": [
{
"menuIcon": "",
"menuName": "服务监控",
"pid": 150,
"updateTime": "2022-04-12 08:00:00",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"paths": "",
"menuType": "C",
"perms": "monitor:server",
"id": 151,
"selected": "",
"menuSort": 200
},
{
"menuIcon": "",
"menuName": "缓存监控",
"pid": 150,
"updateTime": "2022-04-12 08:00:00",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"paths": "",
"menuType": "C",
"perms": "monitor:cache",
"id": 152,
"selected": "",
"menuSort": 200
},
{
"menuIcon": "",
"menuName": "操作日志",
"pid": 150,
"updateTime": "2022-04-12 08:00:00",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"paths": "",
"menuType": "C",
"perms": "system:log:operate",
"id": 153,
"selected": "",
"menuSort": 200
},
{
"menuIcon": "",
"menuName": "登录日志",
"pid": 150,
"updateTime": "2022-04-12 08:00:00",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"paths": "",
"menuType": "C",
"perms": "system:log:login",
"id": 154,
"selected": "",
"menuSort": 200
}
],
"paths": "",
"menuType": "M",
"perms": "",
"id": 150,
"selected": "",
"menuSort": 1000
},
{
"menuIcon": "",
"menuName": "系统配置",
"pid": 0,
"updateTime": "2022-04-12 08:00:00",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"children": [
{
"menuIcon": "",
"menuName": "网站信息",
"pid": 200,
"updateTime": "2022-04-12 08:00:00",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"paths": "",
"menuType": "C",
"perms": "",
"id": 201,
"selected": "",
"menuSort": 200
},
{
"menuIcon": "",
"menuName": "版权信息",
"pid": 200,
"updateTime": "2022-04-12 08:00:00",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"paths": "",
"menuType": "C",
"perms": "",
"id": 204,
"selected": "",
"menuSort": 200
}
],
"paths": "",
"menuType": "M",
"perms": "",
"id": 200,
"selected": "",
"menuSort": 1000
},
{
"menuIcon": "",
"menuName": "内容管理",
"pid": 0,
"updateTime": "2022-04-12 08:00:00",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"children": [
{
"menuIcon": "",
"menuName": "文章管理",
"pid": 300,
"updateTime": "2022-04-12 08:00:00",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"paths": "",
"menuType": "C",
"perms": "",
"id": 301,
"selected": "",
"menuSort": 200
},
{
"menuIcon": "",
"menuName": "分类管理",
"pid": 300,
"updateTime": "2022-04-12 08:00:00",
"params": "",
"isShow": 1,
"isCache": 0,
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"paths": "",
"menuType": "C",
"perms": "",
"id": 320,
"selected": "",
"menuSort": 200
}
],
"paths": "",
"menuType": "M",
"perms": "",
"id": 300,
"selected": "",
"menuSort": 1000
}
]
}
最后修改时间: 2 年前