update 优化 支持脱敏传多角色多权限标识
This commit is contained in:
parent
5c66f3b90c
commit
0d5fe5d91e
@ -25,10 +25,10 @@ public @interface Sensitive {
|
|||||||
/**
|
/**
|
||||||
* 角色标识符 多个角色满足一个即可
|
* 角色标识符 多个角色满足一个即可
|
||||||
*/
|
*/
|
||||||
String[] roleKey();
|
String[] roleKey() default {};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 权限标识符 多个权限满足一个即可
|
* 权限标识符 多个权限满足一个即可
|
||||||
*/
|
*/
|
||||||
String[] perms();
|
String[] perms() default {};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user