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";