Browse Source

调整token有效期

master
wxc 1 year ago
parent
commit
29a3a1f22a
  1. 4
      mailbox-lan/src/main/resources/application.yml

4
mailbox-lan/src/main/resources/application.yml

@ -33,7 +33,7 @@ mybatis-plus:
# Sa-token配置
sa-token:
token-name: admin # token的名称
timeout: 86400 # token有效期单位s 默认24小时(24 * 60 * 60)
timeout: 2592000 # token有效期单位s 默认24小时(24 * 60 * 60 * 30)
active-timeout: -1 # token临时有效期(指定时间无操作掉线)
is-concurrent: false # 是否允许同一账号并发登录
is-share: false # 多人同登账号共用token
@ -44,4 +44,4 @@ sa-token:
logging:
level:
root: INFO
com.biutag: debug
com.biutag: debug

Loading…
Cancel
Save