From ce7f46e5fa41c7de708243603ede8adb3dc71983 Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期三, 03 十一月 2021 16:32:43 +0800
Subject: [PATCH] 优化token有效时间

---
 src/main/java/com/platform/verification/VerificationTool.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/platform/verification/VerificationTool.java b/src/main/java/com/platform/verification/VerificationTool.java
index a14d60c..f5b8836 100644
--- a/src/main/java/com/platform/verification/VerificationTool.java
+++ b/src/main/java/com/platform/verification/VerificationTool.java
@@ -68,8 +68,8 @@
             return PlatformResult.failure(PlatformCode.ERROR_SIGN, "绛惧悕閿欒05");
         }
 
-        //鎺ュ彛鏈夋晥2绉掗挓
-        if(System.currentTimeMillis()-date.getTime() > 10000){
+        //鎺ュ彛鏈夋晥5绉掗挓
+        if(System.currentTimeMillis()-date.getTime() > 5000){
             return PlatformResult.failure(PlatformCode.ERRO_VISIT_OVERTIMR, "璁块棶瓒呮椂");
         }
 

--
Gitblit v1.8.0