Commit a7ea5803 by 陶光胜

菜单接口

parent d2f67389
......@@ -45,7 +45,9 @@ public class MenuApiServiceImpl implements MenuApiService {
if(level == menu.getLevel() && menu.getIsShow().intValue() == 1 && menu.getParentId().intValue() == parentId){
MenuDTO menuDTO = EntityUtil.changeEntityByJSON(MenuDTO.class, menu);
menuDTO.setChildren(this.treeMenu(menuList, menu.getLevel().intValue()+1, menuDTO.getMenuId()));
list = new ArrayList<>();
if(list == null){
list = new ArrayList<>();
}
list.add(menuDTO);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment