From 8ce7ce2407a14d54b29a4b10a8715a8610711050 Mon Sep 17 00:00:00 2001 From: ZY <zc857179121@qq.com> Date: 星期三, 19 三月 2025 17:34:45 +0800 Subject: [PATCH] 已经走出储位的工作档不算 --- src/main/java/com/zy/common/config/AspectConfig.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/zy/common/config/AspectConfig.java b/src/main/java/com/zy/common/config/AspectConfig.java index d7a2e4f..780eb46 100644 --- a/src/main/java/com/zy/common/config/AspectConfig.java +++ b/src/main/java/com/zy/common/config/AspectConfig.java @@ -49,9 +49,9 @@ "||@within(org.springframework.stereotype.Controller)") public Object after(ProceedingJoinPoint joinPoint) throws Throwable{ ServletRequestAttributes requestAttributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes(); - if(requestAttributes != null){ - return joinPoint.proceed(); - } + //if(requestAttributes != null){ + // return joinPoint.proceed(); + //} HttpServletRequest request = requestAttributes.getRequest(); long start = System.currentTimeMillis(); Object result = joinPoint.proceed(joinPoint.getArgs()); -- Gitblit v1.9.1