查询菜单列表

简要描述
  • 查询菜单列表
请求URL
  • http://192.168.11.145/admin/menu/userMenu
请求方式
  • GET
参数
参数名 必选 类型 说明
projectType string 用户端类型(iot_application)
ids string 功能ID集合(用’,’隔开)
parentId int 父级ID
返回示例
[
    {
        "id": 1,
        "value": 0,
        "parentId": 560,
        "checked": false,
        "children": [
            {
                "id": 2,
                "value": 0,
                "parentId": 1,
                "checked": false,
                "children": null,
                "icons": "icon-yonghuguanli",
                "name": "用户管理",
                "spread": false,
                "path": "user",
                "component": "views/admin/user/index",
                "authority": null,
                "redirect": null,
                "code": null,
                "type": "0",
                "label": "用户管理",
                "sort": 1
            },
            {
                "id": 7,
                "value": 0,
                "parentId": 1,
                "checked": false,
                "children": null,
                "icons": "icon-iconbmgl",
                "name": "部门管理",
                "spread": false,
                "path": "dept",
                "component": "views/admin/dept/index",
                "authority": null,
                "redirect": null,
                "code": null,
                "type": "0",
                "label": "部门管理",
                "sort": 2
            },
            {
                "id": 19,
                "value": 0,
                "parentId": 1,
                "checked": false,
                "children": null,
                "icons": "icon-iconbmgl",
                "name": "岗位管理",
                "spread": false,
                "path": "post",
                "component": "views/admin/post/index",
                "authority": null,
                "redirect": null,
                "code": null,
                "type": "0",
                "label": "岗位管理",
                "sort": 3
            },
            {
                "id": 4,
                "value": 0,
                "parentId": 1,
                "checked": false,
                "children": null,
                "icons": "icon-jiaoseguanli",
                "name": "角色管理",
                "spread": false,
                "path": "role",
                "component": "views/admin/role/index",
                "authority": null,
                "redirect": null,
                "code": null,
                "type": "0",
                "label": "角色管理",
                "sort": 4
            }
        ],
        "icons": "icon-yonghuguanli",
        "name": "系统管理",
        "spread": false,
        "path": "/admin",
        "component": "Layout",
        "authority": null,
        "redirect": null,
        "code": null,
        "type": "9",
        "label": "系统管理",
        "sort": 99
    }
]
返回参数说明
参数名 类型 说明
menuId int 菜单Id
name String 菜单名称
备注
  • 更多返回错误代码请看首页的错误代码描述

欢迎使用ShowDoc!