mirror of https://gitee.com/stylefeng/roses
【7.3.2】控制器拦截配置优化
parent
268cd29f93
commit
52a1f9c44f
|
@ -80,7 +80,7 @@ public class RequestApiLogRecordAop implements Ordered {
|
|||
/**
|
||||
* 切所有controller包
|
||||
*/
|
||||
@Pointcut("execution(* *..controller.*.*(..))")
|
||||
@Pointcut("execution(* *..controller.*.*(..)) || execution(* *..*Controller.*(..))")
|
||||
public void cutService() {
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ public class InterfaceStatisticsAop implements Ordered {
|
|||
* @author fengshuonan
|
||||
* @date 2022/2/10 20:25
|
||||
*/
|
||||
@Pointcut("execution(* *..controller.*.*(..))")
|
||||
@Pointcut("execution(* *..controller.*.*(..)) || execution(* *..*Controller.*(..))")
|
||||
public void flowControl() {
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue