reactor: 获取路由菜单添加角色权限控制

This commit is contained in:
ray
2024-06-29 15:10:48 +08:00
parent da36355cd9
commit 57e6ac7fa6
7 changed files with 26 additions and 22 deletions

View File

@@ -68,11 +68,6 @@ public class RouteBO {
*/
private String redirect;
/**
* 拥有路由的权限
*/
private List<String> roles;
/**
* 【目录】只有一个子路由是否始终显示(1:是 0:否)
*/

View File

@@ -46,9 +46,6 @@ public class RouteVO {
@Schema(description = "是否隐藏(true-是 false-否)", example = "true")
private Boolean hidden;
@Schema(description = "拥有路由权限的角色编码", example = "['ADMIN','ROOT']")
private List<String> roles;
@Schema(description = "【菜单】是否开启页面缓存", example = "true")
@JsonInclude(JsonInclude.Include.NON_NULL)
private Boolean keepAlive;