Woody 1 сар өмнө
parent
commit
3530b03aed

+ 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);
                 }