mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-29 02:57:11 +08:00
chore: 升级后端依赖
1.Spring Boot 2.7.10 => 2.7.15 2.Sa-Token 1.34.0 => 1.35.0.RC 3.MyBatis Plus 3.5.3.1 => 3.5.3.2 4.Easy Excel 3.2.1 => 3.3.2 5.Hutool 5.8.16 => 5.8.20 6.Knife4j 4.1.0 => 4.3.0 7.Redisson 3.20.0 => 3.20.1 8.ip2region 2.7.6 => 2.7.15 9.spotless 2.28.0 => 2.30.0
This commit is contained in:
@@ -99,27 +99,27 @@ knife4j:
|
||||
|
||||
--- ### Sa-Token 配置
|
||||
sa-token:
|
||||
# token名称(同时也是 cookie 名称)
|
||||
# token 名称(同时也是 cookie 名称)
|
||||
token-name: Authorization
|
||||
# token前缀(例如填写 Bearer 实际传参 Authorization: Bearer xxxx-xxxx-xxxx-xxxx)
|
||||
# token 前缀(例如填写 Bearer 实际传参 Authorization: Bearer xxxx-xxxx-xxxx-xxxx)
|
||||
token-prefix: Bearer
|
||||
# token有效期(单位:秒,默认 30 天,-1 代表永不过期)
|
||||
# token 有效期(单位:秒,默认 30 天,-1 代表永不过期)
|
||||
timeout: 86400
|
||||
# token临时有效期(单位:秒,指定时间内无操作就视为 token 过期)
|
||||
activity-timeout: 1800
|
||||
# token 最低活跃频率(单位:秒,默认 -1,代表不限制,永不冻结。如果 token 超过此时间没有访问系统就会被冻结)
|
||||
active-timeout: 1800
|
||||
# 是否打开自动续签(如果此值为 true,框架会在每次直接或间接调用 getLoginId() 时进行一次过期检查与续签操作)
|
||||
auto-renew: true
|
||||
# 是否允许同一账号并发登录(为 true 时允许一起登录,为 false 时新登录挤掉旧登录)
|
||||
# 是否允许同一账号多地同时登录(为 true 时允许一起登录,为 false 时新登录挤掉旧登录)
|
||||
is-concurrent: true
|
||||
# 在多人登录同一账号时,是否共用一个 token(为 true 时所有登录共用一个 token,为 false 时每次登录新建一个 token)
|
||||
is-share: false
|
||||
# 是否尝试从 header 里读取 Token
|
||||
is-read-header: true
|
||||
# 是否尝试从 cookie 里读取 Token,此值为 false 后,StpUtil.login(id) 登录时也不会再往前端注入 Cookie,适合前后端分离模式
|
||||
# 是否尝试从 cookie 里读取 Token(此值为 false 后,StpUtil.login(id) 登录时也不会再往前端注入 Cookie,适合前后端分离模式)
|
||||
is-read-cookie: false
|
||||
# 是否打印操作日志
|
||||
# 是否输出操作日志
|
||||
is-log: false
|
||||
# JWT秘钥
|
||||
# JWT 秘钥
|
||||
jwt-secret-key: asdasdasifhueuiwyurfewbfjsdafjk
|
||||
|
||||
--- ### MyBatis Plus 配置
|
||||
|
||||
Reference in New Issue
Block a user