fix: 一处配置字段错误

This commit is contained in:
Mmx233
2023-09-29 10:52:22 +08:00
parent 672db9c154
commit e9d32f7426

View File

@@ -16,8 +16,8 @@ type (
LogConf struct { LogConf struct {
DebugLevel bool `json:"debug_level" yaml:"debug_level"` DebugLevel bool `json:"debug_level" yaml:"debug_level"`
WriteFile bool `json:"write_file" yaml:"write_file"` WriteFile bool `json:"write_file" yaml:"write_file"`
FilePath string `json:"file_path" yaml:"log_path"` FilePath string `json:"log_path" yaml:"log_path"`
FileName string `json:"file_name" yaml:"log_name"` FileName string `json:"log_name" yaml:"log_name"`
} }
DdnsConf struct { DdnsConf struct {
@@ -25,7 +25,7 @@ type (
TTL uint `json:"ttl" yaml:"ttl"` TTL uint `json:"ttl" yaml:"ttl"`
Domain string `json:"domain" yaml:"domain"` Domain string `json:"domain" yaml:"domain"`
Provider string `json:"provider" yaml:"provider"` Provider string `json:"provider" yaml:"provider"`
Config map[string]interface{} `json:"config" json:"config" yaml:"config"` Config map[string]interface{} `json:"config" yaml:"config"`
} }
) )