diff --git a/core/config/auth.go b/core/config/auth.go index 12a8a86..bc1b2f1 100644 --- a/core/config/auth.go +++ b/core/config/auth.go @@ -1,7 +1,7 @@ package config -// AuthConfig 登录认证配置 -type AuthConfig struct { +// AuthConf 登录认证配置 +type AuthConf struct { AccessSecret string `json:",default=northlan,env=ACCESS_SECRET"` // Secret AccessExpire int64 `json:",default=604800,env=ACCESS_EXPIRE"` // Expire in seconds }