自动化立体仓库 - WMS系统
1
zhangc
2025-02-07 aa2d520a06c371e76ef26c78d426a01fca76a2fc
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());