update 优化 支持脱敏传多角色多权限标识

This commit is contained in:
疯狂的狮子Li 2024-11-12 10:39:41 +08:00
parent 5c66f3b90c
commit 0d5fe5d91e

View File

@ -25,10 +25,10 @@ public @interface Sensitive {
/** /**
* 角色标识符 多个角色满足一个即可 * 角色标识符 多个角色满足一个即可
*/ */
String[] roleKey(); String[] roleKey() default {};
/** /**
* 权限标识符 多个权限满足一个即可 * 权限标识符 多个权限满足一个即可
*/ */
String[] perms(); String[] perms() default {};
} }