feat 废弃jwt 、 学识分

This commit is contained in:
2026-02-06 22:31:29 +08:00
parent b1dfb88f71
commit 456f1970eb
17 changed files with 236 additions and 156 deletions

View File

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