自动化立体仓库 - WMS系统
#
whycq
2024-05-31 af4d44146a102f8f8f95f5db39e65986f6b096b5
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());