菜单-SysMenuController 1.查询登录用户菜单 请求地址:http://localhost:8080/api-u/sysmenus/me 请求方式:Get 请求参数: 返回对象:[ { "id": 101, "orgId": 101, "parentId": 0, "parentIds": ",0,", "orgIdsShow": null, "orgIdsHide": null, "name": "系统设置", "sort": 1, "url": "", "icon": "fa-gears", "type": 1, "isSystem": 0, "permission": "", "remarks": null, "enabled": true, "delFlag": "0", "createTime": 1516204800000, "updateTime": 1516204800000, "child": [] } 2. 菜单树查询,全部菜单。修改权限时用。 请求地址:http://localhost:8080/api-u/sysmenus/tree 请求方式:Get 请求参数: 返回对象:同上。 3.获取角色的菜单 请求地址:http://localhost:8080/api-u/sysmenus/roleId 请求方式:Get 请求参数: 返回对象:[128,129,130] 4.添加菜单 请求地址:http://localhost:8080/api-u/sysmenus/ 请求方式:Post 请求参数:SysMenu[id,orgId,parentId,parentIds,orgIdsShow, orgIdsHide,name,sort,url,icon,type,isSystem,permission, remarks,enabled,delFlag,createTime,updateTime] 返回对象:当前SysMenu 5.修改菜单 请求地址:http://localhost:8080/api-u/sysmenus/ 请求方式:Put 请求参数:SysMenu[id,orgId,parentId,parentIds,orgIdsShow, orgIdsHide,name,sort,url,icon,type,isSystem,permission, remarks,enabled,delFlag,createTime,updateTime] 返回对象:当前SysMenu 6.删除菜单 请求地址:http://localhost:8080/api-u/sysmenus/{id} 请求方式:Delete 请求参数:/{id} 菜单id 返回对象: 7.查询所有菜单信息 请求地址:http://localhost:8080/api-u/sysmenus/all 请求方式:Get 请求参数: 返回对象:List 8.查询单个菜单信息 请求地址:http://localhost:8080/api-u/sysmenus/{id} 请求方式:Get 请求参数:/{id} 菜单id 返回对象:{ "id": 101, "orgId": 101, "parentId": 0, "parentIds": ",0,", "orgIdsShow": null, "orgIdsHide": null, "name": "系统设置", "sort": 1, "url": "", "icon": "fa-gears", "type": 1, "isSystem": 0, "permission": "", "remarks": null, "enabled": true, "delFlag": "0", "createTime": 1516204800000, "updateTime": 1516204800000, "child": null }