mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-11-06 01:03:44 +08:00
update 优化 支持脱敏传多角色多权限标识
This commit is contained in:
@@ -25,10 +25,10 @@ public @interface Sensitive {
|
|||||||
/**
|
/**
|
||||||
* 角色标识符 多个角色满足一个即可
|
* 角色标识符 多个角色满足一个即可
|
||||||
*/
|
*/
|
||||||
String[] roleKey();
|
String[] roleKey() default {};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 权限标识符 多个权限满足一个即可
|
* 权限标识符 多个权限满足一个即可
|
||||||
*/
|
*/
|
||||||
String[] perms();
|
String[] perms() default {};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user