@RestController @RequestMapping(value="/sys/menu") public class SysMenuController extends AbstractController
logger
Constructor and Description |
---|
SysMenuController() |
Modifier and Type | Method and Description |
---|---|
R |
delete(Long[] menuIds)
删除
|
R |
info(Long menuId)
菜单信息
|
R |
list(Map<String,Object> params)
所有菜单列表
|
R |
perms()
角色授权菜单
|
R |
queryAll(Map<String,Object> params)
所有菜单列表
|
R |
save(SysMenuEntity menu)
保存
|
R |
select()
选择菜单(添加、修改菜单)
|
R |
update(SysMenuEntity menu)
修改
|
R |
user()
用户菜单列表
|
getDeptId, getUser, getUserId
@RequestMapping(value="/queryAll") public R queryAll(@RequestParam Map<String,Object> params)
@RequestMapping(value="/select") public R select()
@RequestMapping(value="/perms") public R perms()
@RequestMapping(value="/info/{menuId}") public R info(@PathVariable(value="menuId") Long menuId)
@SysLog(value="\u4fdd\u5b58\u83dc\u5355") @RequestMapping(value="/save") public R save(@RequestBody SysMenuEntity menu)
@SysLog(value="\u4fee\u6539\u83dc\u5355") @RequestMapping(value="/update") public R update(@RequestBody SysMenuEntity menu)
@SysLog(value="\u5220\u9664\u83dc\u5355") @RequestMapping(value="/delete") public R delete(@RequestBody Long[] menuIds)
@RequestMapping(value="/user") public R user()
Copyright © 2021. All rights reserved.