From f4392c3192e42f6e58deaa66d77956b27dcdd220 Mon Sep 17 00:00:00 2001 From: xhxu Date: Sun, 16 Jan 2022 10:10:52 +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/mallinkCApi/src/main/java/com/iformall/interceptor/TestControllerReturnAspect.java b/mallinkCApi/src/main/java/com/iformall/interceptor/TestControllerReturnAspect.java index 07e5d9259..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;