Browse Source

权限公共模块改造02

master
caojianbin 2 years ago
parent
commit
18dd1c774f
  1. 6
      ruoyi-common/ruoyi-common-security/src/main/java/com/ruoyi/common/security/aspect/PreAuthorizeAspect.java

6
ruoyi-common/ruoyi-common-security/src/main/java/com/ruoyi/common/security/aspect/PreAuthorizeAspect.java

@ -31,9 +31,9 @@ public class PreAuthorizeAspect
/** /**
* 定义AOP签名 (切入所有使用鉴权注解的方法) * 定义AOP签名 (切入所有使用鉴权注解的方法)
*/ */
public static final String POINTCUT_SIGN = " @annotation(com.ruoyi.common.security.annotation.RequiresLogin) || " public static final String POINTCUT_SIGN = " @annotation(com.yisai.common.security.annotation.RequiresLogin) || "
+ "@annotation(com.ruoyi.common.security.annotation.RequiresPermissions) || " + "@annotation(com.yisai.common.security.annotation.RequiresPermissions) || "
+ "@annotation(com.ruoyi.common.security.annotation.RequiresRoles)"; + "@annotation(com.yisai.common.security.annotation.RequiresRoles)";
/** /**
* 声明AOP签名 * 声明AOP签名

Loading…
Cancel
Save