feat: add jwt

This commit is contained in:
fallen-angle
2022-02-10 17:08:42 +08:00
parent 77f7d0caad
commit 2d43931fc8
10 changed files with 165 additions and 5 deletions

View File

@@ -9,10 +9,15 @@ mysql:
host: myhost.fallen-angle.com
port: 3306
username: root
password: 13291004986@lm
database: nCovTrack
password: 13291004986
database: ncov_track
redis:
host: myhost.fallen-angle.com
port: 6379
password: wzl20001001
jwt:
secret: bWF5YmVJYWxzb3NhbWV0b2JlZm9yZe
renewExpireDays: 7
renewAheadDays: 3