소스 검색

代码优化

Woody 2 달 전
부모
커밋
3530b03aed
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      framework-security/src/main/java/com/chelvc/framework/security/interceptor/SecurityValidateInterceptor.java

+ 1 - 1
framework-security/src/main/java/com/chelvc/framework/security/interceptor/SecurityValidateInterceptor.java

@@ -150,7 +150,7 @@ public class SecurityValidateInterceptor implements HandlerInterceptor, WebMvcCo
             if (timestamp != null && expiration > 0 && Math.abs(System.currentTimeMillis() - timestamp) > expiration) {
                 String message = ApplicationContextHolder.getMessage("Time.Deviated");
                 if (this.isObservable()) {
-                    LoggingContextHolder.warn(log, request, message);
+                    LoggingContextHolder.warn(log, request, message, timestamp);
                 } else {
                     throw new FrameworkException(HttpStatus.BAD_REQUEST.name(), null, message);
                 }