查询菜单下拉树结构
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>查询菜单下拉树结构</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost/dev-api/system/menu/treeselect</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>返回示例</h5>
<pre><code> {
"msg": "操作成功",
"code": 200,
"data": [
{
"id": 1,
"label": "系统管理",
"children": [
{
"id": 100,
"label": "用户管理",
"children": [
{
"id": 1000,
"label": "用户查询"
},
{
"id": 1001,
"label": "用户新增"
},
{
"id": 1002,
"label": "用户修改"
},
{
"id": 1003,
"label": "用户删除"
},
{
"id": 1004,
"label": "用户导出"
},
{
"id": 1005,
"label": "用户导入"
},
{
"id": 1006,
"label": "重置密码"
}
]
},
{
"id": 101,
"label": "角色管理",
"children": [
{
"id": 1007,
"label": "角色查询"
},
{
"id": 1008,
"label": "角色新增"
},
{
"id": 1009,
"label": "角色修改"
},
{
"id": 1010,
"label": "角色删除"
},
{
"id": 1011,
"label": "角色导出"
}
]
},
{
"id": 102,
"label": "菜单管理",
"children": [
{
"id": 1012,
"label": "菜单查询"
},
{
"id": 1013,
"label": "菜单新增"
},
{
"id": 1014,
"label": "菜单修改"
},
{
"id": 1015,
"label": "菜单删除"
}
]
},
{
"id": 103,
"label": "部门管理",
"children": [
{
"id": 1016,
"label": "部门查询"
},
{
"id": 1017,
"label": "部门新增"
},
{
"id": 1018,
"label": "部门修改"
},
{
"id": 1019,
"label": "部门删除"
}
]
},
{
"id": 104,
"label": "岗位管理",
"children": [
{
"id": 1020,
"label": "岗位查询"
},
{
"id": 1021,
"label": "岗位新增"
},
{
"id": 1022,
"label": "岗位修改"
},
{
"id": 1023,
"label": "岗位删除"
},
{
"id": 1024,
"label": "岗位导出"
}
]
},
{
"id": 105,
"label": "字典管理",
"children": [
{
"id": 1025,
"label": "字典查询"
},
{
"id": 1026,
"label": "字典新增"
},
{
"id": 1027,
"label": "字典修改"
},
{
"id": 1028,
"label": "字典删除"
},
{
"id": 1029,
"label": "字典导出"
}
]
},
{
"id": 106,
"label": "参数设置",
"children": [
{
"id": 1030,
"label": "参数查询"
},
{
"id": 1031,
"label": "参数新增"
},
{
"id": 1032,
"label": "参数修改"
},
{
"id": 1033,
"label": "参数删除"
},
{
"id": 1034,
"label": "参数导出"
}
]
},
{
"id": 107,
"label": "通知公告",
"children": [
{
"id": 1035,
"label": "公告查询"
},
{
"id": 1036,
"label": "公告新增"
},
{
"id": 1037,
"label": "公告修改"
},
{
"id": 1038,
"label": "公告删除"
}
]
},
{
"id": 108,
"label": "日志管理",
"children": [
{
"id": 500,
"label": "操作日志",
"children": [
{
"id": 1039,
"label": "操作查询"
},
{
"id": 1040,
"label": "操作删除"
},
{
"id": 1041,
"label": "日志导出"
}
]
},
{
"id": 501,
"label": "登录日志",
"children": [
{
"id": 1042,
"label": "登录查询"
},
{
"id": 1043,
"label": "登录删除"
},
{
"id": 1044,
"label": "日志导出"
}
]
}
]
}
]
},
{
"id": 2,
"label": "系统监控",
"children": [
{
"id": 109,
"label": "在线用户",
"children": [
{
"id": 1045,
"label": "在线查询"
},
{
"id": 1046,
"label": "批量强退"
},
{
"id": 1047,
"label": "单条强退"
}
]
},
{
"id": 110,
"label": "定时任务",
"children": [
{
"id": 1048,
"label": "任务查询"
},
{
"id": 1049,
"label": "任务新增"
},
{
"id": 1050,
"label": "任务修改"
},
{
"id": 1051,
"label": "任务删除"
},
{
"id": 1052,
"label": "状态修改"
},
{
"id": 1053,
"label": "任务导出"
}
]
},
{
"id": 111,
"label": "Sentinel控制台"
},
{
"id": 112,
"label": "Nacos控制台"
},
{
"id": 113,
"label": "Admin控制台"
}
]
},
{
"id": 3,
"label": "系统工具",
"children": [
{
"id": 114,
"label": "表单构建"
},
{
"id": 115,
"label": "代码生成",
"children": [
{
"id": 1054,
"label": "生成查询"
},
{
"id": 1055,
"label": "生成修改"
},
{
"id": 1057,
"label": "导入代码"
},
{
"id": 1056,
"label": "生成删除"
},
{
"id": 1058,
"label": "预览代码"
},
{
"id": 1059,
"label": "生成代码"
}
]
},
{
"id": 116,
"label": "系统接口"
}
]
},
{
"id": 4,
"label": "若依官网"
}
]
}
</code></pre>