自动化立体仓库 - WMS系统
zhangc
2024-12-27 499ee6d6eb0e0c38cdc23ebe3c320f46dd498d0a
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());