diff --git a/youlai-admin/admin-api/src/main/java/com/youlai/admin/pojo/entity/SysMenu.java b/youlai-admin/admin-api/src/main/java/com/youlai/admin/pojo/entity/SysMenu.java index e5b9443b4..f53e5287e 100644 --- a/youlai-admin/admin-api/src/main/java/com/youlai/admin/pojo/entity/SysMenu.java +++ b/youlai-admin/admin-api/src/main/java/com/youlai/admin/pojo/entity/SysMenu.java @@ -24,7 +24,7 @@ public class SysMenu extends BaseEntity { private String name; - private String iconUrl; + private String icon; /** * 路由路径 diff --git a/youlai-admin/admin-boot/src/main/java/com/youlai/admin/service/impl/SysMenuServiceImpl.java b/youlai-admin/admin-boot/src/main/java/com/youlai/admin/service/impl/SysMenuServiceImpl.java index ff70c54cf..f5b2482e7 100644 --- a/youlai-admin/admin-boot/src/main/java/com/youlai/admin/service/impl/SysMenuServiceImpl.java +++ b/youlai-admin/admin-boot/src/main/java/com/youlai/admin/service/impl/SysMenuServiceImpl.java @@ -113,7 +113,7 @@ public class SysMenuServiceImpl extends ServiceImpl impl routeVO.setRedirect(menu.getRedirect()); routeVO.setMeta(routeVO.new Meta( menu.getName(), - menu.getIconUrl(), + menu.getIcon(), menu.getRoles() )); // 菜单显示隐藏 diff --git a/youlai-admin/admin-boot/src/main/resources/mapper/SysMenuMapper.xml b/youlai-admin/admin-boot/src/main/resources/mapper/SysMenuMapper.xml index 8d647d2f8..0823dc7a3 100644 --- a/youlai-admin/admin-boot/src/main/resources/mapper/SysMenuMapper.xml +++ b/youlai-admin/admin-boot/src/main/resources/mapper/SysMenuMapper.xml @@ -10,7 +10,7 @@ - + @@ -34,7 +34,7 @@ t1.parent_id, t1.path, t1.component, - t1.icon_url, + t1.icon, t1.sort, t1.visible, t1.redirect,