疯狂的牛子Li
2024-12-17 489cb52976b4597c7d2f2e0c51fc88908b2897ae
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 {};
}