mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-26 04:39:26 +08:00
jwt-token的发行
This commit is contained in:
@@ -31,8 +31,15 @@ mybatis-plus:
|
||||
configuration:
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
|
||||
# PlayEdu
|
||||
playedu:
|
||||
# 图形验证码
|
||||
captcha:
|
||||
expire: 300 #分5钟
|
||||
cache-prefix: "captcha:key:"
|
||||
expire: 300 #有效期[单位:秒,默认5分钟]
|
||||
cache-prefix: "captcha:key:" #存储key的前缀
|
||||
# JWT
|
||||
jwt:
|
||||
key: "eJTJSLPv13fw9twbuPoeicypLqnSfYWL" #32个字符,加密key用来加密jwt的数据[运行本系统之前请务必修改]
|
||||
expire: 1296000 #token有效期[单位:秒,默认15天]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user