@Controller @RequestMapping(value="/role") public class RoleController extends BaseController
Constructor and Description |
---|
RoleController() |
Modifier and Type | Method and Description |
---|---|
JsonUtil |
addRole(SysRole sysRole,
String[] menus) |
JsonUtil |
del(String id) |
String |
goAddRole(org.springframework.ui.Model model) |
String |
showRole(org.springframework.ui.Model model) |
String |
showRoleList(SysRole role,
org.springframework.ui.Model model) |
ReType |
showRoleList(SysRole role,
org.springframework.ui.Model model,
String page,
String limit) |
String |
updateRole(String id,
org.springframework.ui.Model model,
boolean detail) |
JsonUtil |
updateUser(SysRole role,
String[] menus) |
authorizationException, initBinder
@GetMapping(value="showRole") public String showRole(org.springframework.ui.Model model)
@GetMapping(value="showRoleList") @ResponseBody public ReType showRoleList(SysRole role, org.springframework.ui.Model model, String page, String limit)
@GetMapping(value="showaLLRoleList") @ResponseBody public String showRoleList(SysRole role, org.springframework.ui.Model model)
@GetMapping(value="showAddRole") public String goAddRole(org.springframework.ui.Model model)
@Log(desc="\u6dfb\u52a0\u89d2\u8272") @PostMapping(value="addRole") @ResponseBody public JsonUtil addRole(SysRole sysRole, String[] menus)
@GetMapping(value="updateRole") public String updateRole(String id, org.springframework.ui.Model model, boolean detail)
@Log(desc="\u66f4\u65b0\u89d2\u8272") @PostMapping(value="updateRole") @ResponseBody public JsonUtil updateUser(SysRole role, String[] menus)
Copyright © 2019. All rights reserved.