feat(system): 更新权限标识符并优化菜单类型枚举
This commit is contained in:
@@ -34,9 +34,9 @@ public class Menu {
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 菜单类型(1-菜单;2-目录;3-外链;4-按钮权限)
|
||||
* 菜单类型(C-目录 M-菜单 B-按钮)
|
||||
*/
|
||||
private Integer type;
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 路由名称(Vue Router 中定义的路由名称)
|
||||
|
||||
@@ -26,8 +26,8 @@ public class MenuForm {
|
||||
@Schema(description = "菜单名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "菜单类型(1-菜单 2-目录 3-外链 4-按钮)")
|
||||
private Integer type;
|
||||
@Schema(description = "菜单类型(C-目录 M-菜单 B-按钮)")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "路由名称")
|
||||
private String routeName;
|
||||
|
||||
@@ -19,8 +19,8 @@ public class MenuVO {
|
||||
@Schema(description = "菜单名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description="菜单类型")
|
||||
private Integer type;
|
||||
@Schema(description="菜单类型(C-目录 M-菜单 B-按钮)")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "路由名称")
|
||||
private String routeName;
|
||||
|
||||
Reference in New Issue
Block a user