@RequestMapping(method = RequestMethod.GET, value = "/update/{id}")public String forUpdate(Model model, @PathVariable("id") Long id) { SystemRole systemRole = systemRoleService.getById(id); model.addAttribute("systemRole", systemRole); model.addAttribute("method", "update"); return "role/role_edit";}
时间: 2024-10-29 04:09:12