@RequestMapping(value="/menu") @Controller public class MenuController extends BaseController
Constructor and Description |
---|
MenuController() |
Modifier and Type | Method and Description |
---|---|
String |
addMenu(org.springframework.ui.Model model) |
JsonUtil |
addMenu(SysMenu sysMenu,
org.springframework.ui.Model model) |
JsonUtil |
del(String id) |
String |
showMenu(org.springframework.ui.Model model)
展示tree
|
String |
showUpdateMenu(org.springframework.ui.Model model,
String id) |
JsonUtil |
updateMenu(SysMenu sysMenu) |
authorizationException, initBinder
@GetMapping(value="showMenu") public String showMenu(org.springframework.ui.Model model)
model
- @GetMapping(value="showAddMenu") public String addMenu(org.springframework.ui.Model model)
@Log(desc="\u6dfb\u52a0\u83dc\u5355", type=UPDATE) @PostMapping(value="addMenu") @ResponseBody public JsonUtil addMenu(SysMenu sysMenu, org.springframework.ui.Model model)
@GetMapping(value="showUpdateMenu") public String showUpdateMenu(org.springframework.ui.Model model, String id)
@Log(desc="\u66f4\u65b0\u83dc\u5355", type=ADD) @PostMapping(value="updateMenu") @ResponseBody public JsonUtil updateMenu(SysMenu sysMenu)
Copyright © 2019. All rights reserved.