jwt-token的发行

This commit is contained in:
none
2023-02-16 15:00:22 +08:00
parent 0e51cd7ceb
commit 53b3a8645f
11 changed files with 173 additions and 14 deletions

View File

@@ -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天]