From f2792bcf86430148f8cdb704fea831f0255d7a3b Mon Sep 17 00:00:00 2001 From: lulz1 Date: Wed, 10 Apr 2024 17:00:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BB=B6=E9=95=BFtoken=E6=9C=89=E6=95=88?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E5=88=B03=E5=B0=8F=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/chint/infrastructure/constant/AuthMessageConstant.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/chint/infrastructure/constant/AuthMessageConstant.java b/src/main/java/com/chint/infrastructure/constant/AuthMessageConstant.java index 1b8f9696..b4ba648c 100644 --- a/src/main/java/com/chint/infrastructure/constant/AuthMessageConstant.java +++ b/src/main/java/com/chint/infrastructure/constant/AuthMessageConstant.java @@ -35,7 +35,7 @@ public class AuthMessageConstant { // JWT public static final String SECRET = "Superdandan"; // 替换为你自己的密钥 public static final String SUBJECT = "EmployeeNo"; - public static final long EXPIRATION_TIME_MS = 3600000L; // 1小时过期时间 + public static final long EXPIRATION_TIME_MS = 10800000L; // 3小时过期时间 public static final String HEADER_TOKEN = "token"; public static final String HEADER_TOKEN_UP_CASE = "Token";