Commit ebdccda0 authored by yanzg's avatar yanzg

正则表达式匹配

parent e704c816
......@@ -15,8 +15,8 @@ import org.springframework.stereotype.Component;
/**
* 接口切面,用于验证接口回调返回参数
*/
@Aspect
@Component
//@Aspect
//@Component
public class FeignAspect extends AbstractValidateAspect {
private static final Logger logger = LoggerFactory.getLogger(FeignAspect.class);
......@@ -24,7 +24,7 @@ public class FeignAspect extends AbstractValidateAspect {
/**
* AOP的表达式
*/
@Pointcut("execution(* *..feign..Feign..*(..))")
// @Pointcut("bean(*Feign)")
public void feignAspect() {
}
......
......@@ -41,8 +41,8 @@ import java.util.concurrent.LinkedBlockingQueue;
* @author: Kang
* @time: 2018年04月25日 11:43
*/
@Aspect
@Component
//@Aspect
//@Component
public class WebAspect extends AbstractValidateAspect implements ThreadNext.Next {
private static final Logger logger = LoggerFactory.getLogger(WebAspect.class);
......@@ -76,7 +76,7 @@ public class WebAspect extends AbstractValidateAspect implements ThreadNext.Next
/**
* exec aop point aspect
*/
@Pointcut("execution(* *..web..Controller..*(..))")
// @Pointcut("bean(*Controller)")
public void webAspect() {
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment