diff --git a/src/v1/config/auth.go b/src/v1/config/auth.go index 4bda54c889549a479801f1e7367b1c2e488168d2..969f78bd8085c7a248d8a739f5ec2a2bfe6f7df3 100644 --- a/src/v1/config/auth.go +++ b/src/v1/config/auth.go @@ -2,6 +2,6 @@ package config //授权登录相关 type AuthConfig struct { - SecretKey string - AuthExpired int64 `yaml:"AuthExpired"` + SecretKey string `yaml:"SecretKey"` + AuthExpired int64 `yaml:"AuthExpired"` }