Commit 2dc6cb43 authored by 周健威's avatar 周健威

修改代码

parent 24e8b3c3
......@@ -37,9 +37,9 @@ public class ImageimgMenuBiz extends BaseBiz<ImageimgMenuMapper,ImageimgMenu> {
node = new ImageimgMenuTree();
BeanUtils.copyProperties(imageMenu, node);
node.setLabel(imageMenu.getTitle());
node.setElements(imageImgStorageBiz.selectAll(new ImageImgStorage(){{
setMenuId(imageMenu.getId());
}}));
// node.setElements(imageImgStorageBiz.selectAll(new ImageImgStorage(){{
// setMenuId(imageMenu.getId());
// }}));
if (node.getChildren() == null) {
node.setChildren(new ArrayList<>());
}
......
......@@ -26,7 +26,7 @@ public class ImageimgMenuController extends BaseController<ImageimgMenuBiz,Image
@IgnoreUserToken
@IgnoreClientToken
@ResponseBody
public ObjectRestResponse<List<DataMenuTree>> listMenu(Integer parentId) {
public ObjectRestResponse<List<DataMenuTree>> imageimgMenuTree(Integer parentId) {
try {
if (parentId == null) {
parentId = AdminCommonConstant.ROOT;
......
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