Browse Source

修改token 续期时间

master
刘力 2 years ago
parent
commit
85143c86c8
  1. 4
      system/src/main/resources/application-dev.yml

4
system/src/main/resources/application-dev.yml

@ -86,9 +86,9 @@ jwt:
# 验证码
code-key: code-key-
# token 续期检查时间范围(默认30分钟,单位毫秒),在token即将过期的一段时间内用户操作了,则给用户的token续期
detect: 1800000
detect: 14400000
# 续期时间范围,默认1小时,单位毫秒
renew: 3600000
renew: 14400000
#是否开启 swagger-ui

Loading…
Cancel
Save