Browse Source

注释修正

pull/2/head
RuoYi 7 years ago
parent
commit
dacd7155b5
  1. 4
      src/main/java/com/ruoyi/project/system/menu/controller/MenuController.java

4
src/main/java/com/ruoyi/project/system/menu/controller/MenuController.java

@ -19,7 +19,7 @@ import com.ruoyi.project.system.menu.service.IMenuService;
import com.ruoyi.project.system.role.domain.Role; import com.ruoyi.project.system.role.domain.Role;
/** /**
* 角色信息 * 菜单信息
* *
* @author ruoyi * @author ruoyi
*/ */
@ -170,7 +170,7 @@ public class MenuController extends BaseController
* 选择菜单树 * 选择菜单树
*/ */
@GetMapping("/selectMenuTree/{menuId}") @GetMapping("/selectMenuTree/{menuId}")
public String selectDeptTree(@PathVariable("menuId") Long menuId, Model model) public String selectMenuTree(@PathVariable("menuId") Long menuId, Model model)
{ {
model.addAttribute("treeName", menuService.selectMenuById(menuId).getMenuName()); model.addAttribute("treeName", menuService.selectMenuById(menuId).getMenuName());
return prefix + "/tree"; return prefix + "/tree";

Loading…
Cancel
Save