查看菜单按钮树
GET
/api/v1/system-manage/menus/buttons/tree/请求参数
无
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
必需
msg
string
必需
data
array [object {4}]
必需
id
string
必需
label
string
必需
pId
integer
必需
children
array [object {4}]
必需
示例
{
"code": "0000",
"msg": "OK",
"data": [
{
"id": "parent$6",
"label": "功能",
"pId": 0,
"children": [
{
"id": "parent$7",
"label": "切换权限",
"pId": 6,
"children": [
{
"id": 1,
"label": "B_CODE1",
"pId": 7
},
{
"id": 2,
"label": "B_CODE2",
"pId": 7
},
{
"id": 3,
"label": "B_CODE3",
"pId": 7
}
]
}
]
},
{
"id": "parent$26",
"label": "系统管理",
"pId": 0,
"children": [
{
"id": "parent$27",
"label": "日志管理",
"pId": 26,
"children": [
{
"id": 4,
"label": "B_Add_Del_Batch-del",
"pId": 27
}
]
},
{
"id": "parent$28",
"label": "API管理",
"pId": 26,
"children": [
{
"id": 5,
"label": "B_refreshAPI",
"pId": 28
}
]
}
]
}
]
}
最后修改时间: 9 个月前