feat 废弃jwt 、 学识分
This commit is contained in:
@@ -14,9 +14,8 @@ type Config struct {
|
||||
}
|
||||
|
||||
type AuthConfig struct {
|
||||
Secret string `yaml:"secret"`
|
||||
ShortExpire int64 `yaml:"shortExpire"`
|
||||
LongExpire int64 `yaml:"longExpire"`
|
||||
ShortExpire int64 `yaml:"shortExpire"`
|
||||
LongExpire int64 `yaml:"longExpire"`
|
||||
}
|
||||
|
||||
var cfg *Config
|
||||
|
||||
Reference in New Issue
Block a user