feat: 菜单新窗口打开.

This commit is contained in:
lijiahang
2023-12-05 14:44:46 +08:00
parent c5120463d9
commit 9b3e5eef48
15 changed files with 108 additions and 89 deletions

View File

@@ -13,7 +13,8 @@ Authorization: {{token}}
"cache": "",
"icon": "",
"path": "",
"component": ""
"component": "",
"newWindow": ""
}
@@ -33,7 +34,8 @@ Authorization: {{token}}
"cache": "",
"icon": "",
"path": "",
"component": ""
"component": "",
"newWindow": ""
}

View File

@@ -62,6 +62,10 @@ public class SystemMenuDO extends BaseDO {
@TableField("cache")
private Integer cache;
@Schema(description = "新窗口打开 0关闭 1开启")
@TableField("new_window")
private Integer newWindow;
@Schema(description = "菜单图标")
@TableField("icon")
private String icon;

View File

@@ -41,6 +41,9 @@ public class SystemMenuCacheDTO {
@Schema(description = "菜单缓存 0不缓存 1缓存")
private Integer cache;
@Schema(description = "新窗口打开 0关闭 1开启")
private Integer newWindow;
@Schema(description = "菜单图标")
private String icon;

View File

@@ -46,6 +46,9 @@ public class SystemMenuCreateRequest implements Serializable {
@Schema(description = "菜单缓存 0不缓存 1缓存")
private Integer cache;
@Schema(description = "新窗口打开 0关闭 1开启")
private Integer newWindow;
@Schema(description = "菜单图标")
private String icon;

View File

@@ -46,6 +46,9 @@ public class SystemMenuUpdateRequest implements Serializable {
@Schema(description = "菜单缓存 0不缓存 1缓存")
private Integer cache;
@Schema(description = "新窗口打开 0关闭 1开启")
private Integer newWindow;
@Schema(description = "菜单图标")
private String icon;

View File

@@ -52,6 +52,9 @@ public class SystemMenuVO implements Serializable {
@Schema(description = "菜单缓存 0不缓存 1缓存")
private Integer cache;
@Schema(description = "新窗口打开 0关闭 1开启")
private Integer newWindow;
@Schema(description = "菜单图标")
private String icon;

View File

@@ -18,6 +18,7 @@
<result column="visible" property="visible"/>
<result column="status" property="status"/>
<result column="cache" property="cache"/>
<result column="new_window" property="newWindow"/>
<result column="icon" property="icon"/>
<result column="path" property="path"/>
<result column="component" property="component"/>
@@ -25,7 +26,7 @@
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
id, parent_id, name, permission, type, sort, visible, status, cache, icon, path, component, create_time, update_time, creator, updater, deleted
id, parent_id, name, permission, type, sort, visible, status, cache, new_window, icon, path, component, create_time, update_time, creator, updater, deleted
</sql>
</mapper>