From f448b13be73245d8ac5374384c79713040c661c0 Mon Sep 17 00:00:00 2001 From: xhxu Date: Sun, 23 Jan 2022 11:27:08 +0800 Subject: [PATCH] =?UTF-8?q?/=E3=80=81test?= 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/mallinkCApi/src/main/java/com/iformall/interceptor/TestControllerReturnAspect.java b/mallinkCApi/src/main/java/com/iformall/interceptor/TestControllerReturnAspect.java index e08d206b3..958c19fa6 100644 --- a/mallinkCApi/src/main/java/com/iformall/interceptor/TestControllerReturnAspect.java +++ b/mallinkCApi/src/main/java/com/iformall/interceptor/TestControllerReturnAspect.java @@ -24,17 +24,17 @@ import lombok.extern.slf4j.Slf4j; * @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;