From 2ef9b00a460a63db7c7c1a189d154329769e065e Mon Sep 17 00:00:00 2001 From: xhxu Date: Sun, 16 Jan 2022 19:00:54 +0800 Subject: [PATCH] =?UTF-8?q?/=E3=80=81.test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iformall/interceptor/TestControllerReturnAspect.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mallinkBApi/src/main/java/com/iformall/interceptor/TestControllerReturnAspect.java b/mallinkBApi/src/main/java/com/iformall/interceptor/TestControllerReturnAspect.java index 19c7f6a76..b57925393 100644 --- a/mallinkBApi/src/main/java/com/iformall/interceptor/TestControllerReturnAspect.java +++ b/mallinkBApi/src/main/java/com/iformall/interceptor/TestControllerReturnAspect.java @@ -21,17 +21,17 @@ import java.io.IOException; * @author alascor * */ -@Aspect -@Configuration +//@Aspect +//@Configuration @Slf4j public class TestControllerReturnAspect { - @Pointcut("execution(* com.iformall.controller.*Controller.*(..))") +// @Pointcut("execution(* com.iformall.controller.*Controller.*(..))") public void excudeService() { } - @Around("excudeService()") +// @Around("excudeService()") public Object doAround(ProceedingJoinPoint pjp) throws Throwable { RequestAttributes ra = RequestContextHolder.getRequestAttributes(); ServletRequestAttributes sra = (ServletRequestAttributes) ra;