feat(system): 更新权限标识符并优化菜单类型枚举

This commit is contained in:
Ray.Hao
2025-12-10 21:16:37 +08:00
parent 329b3551f7
commit 36d2db6dc5
12 changed files with 65 additions and 53 deletions

View File

@@ -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 中定义的路由名称)

View File

@@ -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;

View File

@@ -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;