疯狂的狮子Li
2024-12-06 c17225abb16c5e459e7af34e5f147c15583fa557
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 {};
}