Commit cf8a5eb3 authored by yanzg's avatar yanzg

监控类

parent ebdccda0
...@@ -15,8 +15,8 @@ import org.springframework.stereotype.Component; ...@@ -15,8 +15,8 @@ import org.springframework.stereotype.Component;
/** /**
* 接口切面,用于验证接口回调返回参数 * 接口切面,用于验证接口回调返回参数
*/ */
//@Aspect @Aspect
//@Component @Component
public class FeignAspect extends AbstractValidateAspect { public class FeignAspect extends AbstractValidateAspect {
private static final Logger logger = LoggerFactory.getLogger(FeignAspect.class); private static final Logger logger = LoggerFactory.getLogger(FeignAspect.class);
...@@ -24,7 +24,7 @@ public class FeignAspect extends AbstractValidateAspect { ...@@ -24,7 +24,7 @@ public class FeignAspect extends AbstractValidateAspect {
/** /**
* AOP的表达式 * AOP的表达式
*/ */
// @Pointcut("bean(*Feign)") @Pointcut("execution(* com..feign.*Feign.*(..))")
public void feignAspect() { public void feignAspect() {
} }
......
...@@ -76,7 +76,7 @@ public class WebAspect extends AbstractValidateAspect implements ThreadNext.Next ...@@ -76,7 +76,7 @@ public class WebAspect extends AbstractValidateAspect implements ThreadNext.Next
/** /**
* exec aop point aspect * exec aop point aspect
*/ */
// @Pointcut("bean(*Controller)") @Pointcut("execution(* com..web.*Controller.*(..))")
public void webAspect() { 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