mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 05:00:25 +08:00
refactor: 菜单图标字段icon_url调整为icon
This commit is contained in:
parent
c499fb91da
commit
79cb36ad29
@ -24,7 +24,7 @@ public class SysMenu extends BaseEntity {
|
||||
|
||||
private String name;
|
||||
|
||||
private String iconUrl;
|
||||
private String icon;
|
||||
|
||||
/**
|
||||
* 路由路径
|
||||
|
@ -113,7 +113,7 @@ public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> impl
|
||||
routeVO.setRedirect(menu.getRedirect());
|
||||
routeVO.setMeta(routeVO.new Meta(
|
||||
menu.getName(),
|
||||
menu.getIconUrl(),
|
||||
menu.getIcon(),
|
||||
menu.getRoles()
|
||||
));
|
||||
// 菜单显示隐藏
|
||||
|
@ -10,7 +10,7 @@
|
||||
<result property="path" column="path" jdbcType="VARCHAR"/>
|
||||
<result property="component" column="component" jdbcType="VARCHAR"/>
|
||||
<result property="redirect" column="redirect" jdbcType="VARCHAR"/>
|
||||
<result property="iconUrl" column="icon_url" jdbcType="VARCHAR"/>
|
||||
<result property="icon" column="icon" jdbcType="VARCHAR"/>
|
||||
<result property="sort" column="sort" jdbcType="INTEGER"/>
|
||||
<result property="visible" column="visible" jdbcType="BOOLEAN"/>
|
||||
<result property="gmtCreate" column="gmt_create" jdbcType="TIMESTAMP"/>
|
||||
@ -34,7 +34,7 @@
|
||||
t1.parent_id,
|
||||
t1.path,
|
||||
t1.component,
|
||||
t1.icon_url,
|
||||
t1.icon,
|
||||
t1.sort,
|
||||
t1.visible,
|
||||
t1.redirect,
|
||||
|
Loading…
Reference in New Issue
Block a user