获取菜单树列表
GET
/system/menu/roleMenuTreeselect/{roleId}请求参数
Path 参数
roleId
string
必需
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer | null
可选
返回状态码:返回200表示请求接口成功,非200表示请求接口失败
msg
string | null
返回消息
data
object (RoleMenuTreeselectResVO)
返回数据
menuTree
array[object (TreeVO) {3}] | null
菜单树
checkedKeys
array[integer] | null
已选中菜单id
示例
{
"code": 0,
"msg": "",
"data": {
"menuTree": [
{
"id": 0,
"label": "",
"children": [
{
"id": 0,
"label": "",
"children": []
}
]
}
],
"checkedKeys": [
0
]
}
}
最后修改时间: 10 months ago