@ -4,7 +4,7 @@ sa-token:
# token有效期(单位:秒) 默认1天
timeout: 86400
# token最低活跃频率(单位:秒) 默认30分钟无操作则过期
active-timeout: 1800
active-timeout: 86400
# 允许动态设置 token 有效期
dynamic-active-timeout: true
# 允许从 请求参数 读取 token
@ -37,7 +37,7 @@ public abstract class LoginController {
/**
* App端token活跃超时时间(单位:秒) 30分钟
*/
protected static final long APP_TOKEN_ACTIVE_TIMEOUT = 1800;
protected static final long APP_TOKEN_ACTIVE_TIMEOUT = 86400;
* 校验登录参数非空