延长token有效时间到3小时
This commit is contained in:
parent
db38a244e7
commit
f2792bcf86
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue