From cc67d269d48b3af7d2ce30465db01aa1c18799b6 Mon Sep 17 00:00:00 2001 From: wxz Date: Wed, 19 Aug 2020 15:40:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E5=8E=BB=E6=8E=89=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=88=B3=E6=A0=A1=E9=AA=8C=EF=BC=8C=E4=BE=BF=E4=BA=8E?= =?UTF-8?q?=E8=B0=83=E8=AF=95=E3=80=82=E4=B8=8A=E7=BA=BF=E4=B9=8B=E5=89=8D?= =?UTF-8?q?=E6=89=93=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../epmet/service/impl/ExternalAppAuthServiceImpl.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/epmet-module/epmet-common-service/common-service-server/src/main/java/com/epmet/service/impl/ExternalAppAuthServiceImpl.java b/epmet-module/epmet-common-service/common-service-server/src/main/java/com/epmet/service/impl/ExternalAppAuthServiceImpl.java index 283b7b41ef..822e654cbb 100644 --- a/epmet-module/epmet-common-service/common-service-server/src/main/java/com/epmet/service/impl/ExternalAppAuthServiceImpl.java +++ b/epmet-module/epmet-common-service/common-service-server/src/main/java/com/epmet/service/impl/ExternalAppAuthServiceImpl.java @@ -57,10 +57,11 @@ public class ExternalAppAuthServiceImpl implements ExternalAppAuthService { return fillAuthResult(false, "access token不完整。", null); } - if (!validTimeStamp(timestamp)) { - logger.error("服务器存在时差过大,请求被拒绝", appId, appIdIn); - return fillAuthResult(false, "服务器存在时差过大,请求被拒绝", null); - } + // TODO +// if (!validTimeStamp(timestamp)) { +// logger.error("服务器存在时差过大,请求被拒绝", appId, appIdIn); +// return fillAuthResult(false, "服务器存在时差过大,请求被拒绝", null); +// } if (!appId.equals(appIdIn)) { logger.error("AppId不对应,token外部的:{}, token内部解析出来的:{}", appId, appIdIn);