【7.3.2】控制器拦截配置优化

pull/41/head
fengshuonan 2022-11-09 19:36:02 +08:00
parent 268cd29f93
commit 52a1f9c44f
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ public class RequestApiLogRecordAop implements Ordered {
/**
* controller
*/
@Pointcut("execution(* *..controller.*.*(..))")
@Pointcut("execution(* *..controller.*.*(..)) || execution(* *..*Controller.*(..))")
public void cutService() {
}

View File

@ -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() {
}