mirror of
https://github.com/PlayEdu/PlayEdu
synced 2026-03-15 19:00:42 +08:00
接入sa-token
This commit is contained in:
@@ -56,6 +56,14 @@ mybatis-plus:
|
||||
# configuration:
|
||||
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
|
||||
sa-token:
|
||||
token-name: "Authorization"
|
||||
timeout: 1296000 #token有效期[单位:秒,默认15天]
|
||||
is-concurrent: false #限制同时登录
|
||||
is-share: false
|
||||
jwt-secret-key: "playeduxyz"
|
||||
token-prefix: "Bearer"
|
||||
|
||||
# PlayEdu
|
||||
playedu:
|
||||
# 图形验证码
|
||||
|
||||
Reference in New Issue
Block a user