菜单列表
GET
/api/system/menu/list请求参数
无
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
array [object {13}]
必需
menuIcon
string
必需
menuName
string
必需
pid
integer
必需
updateTime
string
必需
isDisable
integer
必需
component
string
必需
createTime
string
必需
children
array [object {13}]
必需
paths
string
必需
menuType
string
必需
perms
string
必需
id
integer
必需
menuSort
integer
必需
示例
{
"code": 200,
"msg": "成功",
"data": [
{
"menuIcon": "",
"menuName": "权限",
"pid": 0,
"updateTime": "2022-04-12 08:00:00",
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"children": [
{
"menuIcon": "",
"menuName": "管理员",
"pid": 1,
"updateTime": "2022-04-12 08:00:00",
"isDisable": 0,
"component": "/system/admin/index",
"createTime": "2022-04-12 08:00:00",
"children": [
{
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"menuIcon": "",
"paths": "",
"menuName": "管理员列表",
"menuType": "A",
"perms": "system:admin:lists",
"pid": 2,
"updateTime": "2022-04-12 08:00:00",
"id": 3,
"menuSort": 0
},
{
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"menuIcon": "",
"paths": "",
"menuName": "管理员详情",
"menuType": "A",
"perms": "system:admin:detail",
"pid": 2,
"updateTime": "2022-04-12 08:00:00",
"id": 4,
"menuSort": 0
}
],
"paths": "",
"menuType": "C",
"perms": "",
"id": 2,
"menuSort": 200
}
],
"paths": "",
"menuType": "M",
"perms": "",
"id": 1,
"menuSort": 1000
},
{
"menuIcon": "",
"menuName": "相册管理",
"pid": 0,
"updateTime": "2022-04-12 08:00:00",
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"children": [
{
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"menuIcon": "",
"paths": "",
"menuName": "文件列表",
"menuType": "A",
"perms": "album:albumList",
"pid": 100,
"updateTime": "2022-04-12 08:00:00",
"id": 101,
"menuSort": 0
},
{
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"menuIcon": "",
"paths": "",
"menuName": "文件命名",
"menuType": "A",
"perms": "album:albumRename",
"pid": 100,
"updateTime": "2022-04-12 08:00:00",
"id": 102,
"menuSort": 0
},
{
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"menuIcon": "",
"paths": "",
"menuName": "文件移动",
"menuType": "A",
"perms": "album:albumMove",
"pid": 100,
"updateTime": "2022-04-12 08:00:00",
"id": 103,
"menuSort": 0
},
{
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"menuIcon": "",
"paths": "",
"menuName": "文件删除",
"menuType": "A",
"perms": "album:albumDel",
"pid": 100,
"updateTime": "2022-04-12 08:00:00",
"id": 104,
"menuSort": 0
},
{
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"menuIcon": "",
"paths": "",
"menuName": "类目列表",
"menuType": "A",
"perms": "album:cateList",
"pid": 100,
"updateTime": "2022-04-12 08:00:00",
"id": 105,
"menuSort": 0
},
{
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"menuIcon": "",
"paths": "",
"menuName": "类目命名",
"menuType": "A",
"perms": "album:cateRename",
"pid": 100,
"updateTime": "2022-04-12 08:00:00",
"id": 106,
"menuSort": 0
},
{
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"menuIcon": "",
"paths": "",
"menuName": "类目新增",
"menuType": "A",
"perms": "album:cateAdd",
"pid": 100,
"updateTime": "2022-04-12 08:00:00",
"id": 107,
"menuSort": 0
},
{
"isDisable": 0,
"component": "",
"createTime": "2022-04-12 08:00:00",
"menuIcon": "",
"paths": "",
"menuName": "类目删除",
"menuType": "A",
"perms": "album:albumDel",
"pid": 100,
"updateTime": "2022-04-12 08:00:00",
"id": 108,
"menuSort": 0
}
],
"paths": "",
"menuType": "A",
"perms": "",
"id": 100,
"menuSort": 1000
}
]
}
最后修改时间: 2 年前