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