refactor: token authentication

This commit is contained in:
zchengo
2022-12-11 20:02:19 +08:00
parent b16d31189f
commit cf816b3f52
5 changed files with 33 additions and 23 deletions
+2 -1
View File
@@ -36,7 +36,8 @@ type Redis struct {
// JWT用户认证配置
type Jwt struct {
SigningKey string `mapstructure:"signingKey"`
SigningKey string `mapstructure:"signingKey"`
ExpiredTime int `mapstructure:"expiredTime"`
}
// 邮件服务配置