疯狂的狮子Li
2024-12-06 e0b0ffcb289a9fc98b3660a0e7e391f8899518f7
ruoyi-common/ruoyi-common-sensitive/src/main/java/org/dromara/common/sensitive/annotation/Sensitive.java
@@ -21,4 +21,14 @@
@JsonSerialize(using = SensitiveHandler.class)
public @interface Sensitive {
    SensitiveStrategy strategy();
    /**
     * 角色标识符 多个角色满足一个即可
     */
    String[] roleKey() default {};
    /**
     * 权限标识符 多个权限满足一个即可
     */
    String[] perms() default {};
}