application增加API的初始化
This commit is contained in:
@@ -33,8 +33,9 @@ type Config struct {
|
||||
|
||||
// AppConfig 代表应用基础配置
|
||||
type AppConfig struct {
|
||||
Name string `yaml:"name"`
|
||||
Version string `yaml:"version"`
|
||||
Name string `yaml:"name"`
|
||||
Version string `yaml:"version"`
|
||||
JWTSecret string `yaml:"jwt_secret"` // JWT 密钥
|
||||
}
|
||||
|
||||
// ServerConfig 代表服务器配置
|
||||
|
||||
Reference in New Issue
Block a user