feat(api): Add api token expire

Resolves #109
This commit is contained in:
lejianwen
2025-01-21 18:23:28 +08:00
parent 44fa22b7e5
commit d9fcfdde6a
5 changed files with 6 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ type App struct {
WebClient int `mapstructure:"web-client"`
Register bool `mapstructure:"register"`
ShowSwagger int `mapstructure:"show-swagger"`
TokenExpire int `mapstructure:"token-expire"`
}
type Admin struct {
Title string `mapstructure:"title"`