From e9d32f7426c24b7862ac2289868337670e7590c2 Mon Sep 17 00:00:00 2001 From: Mmx233 Date: Fri, 29 Sep 2023 10:52:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=80=E5=A4=84=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/config/models.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/config/models.go b/internal/config/models.go index 822841a..ebb2b95 100644 --- a/internal/config/models.go +++ b/internal/config/models.go @@ -16,8 +16,8 @@ type ( LogConf struct { DebugLevel bool `json:"debug_level" yaml:"debug_level"` WriteFile bool `json:"write_file" yaml:"write_file"` - FilePath string `json:"file_path" yaml:"log_path"` - FileName string `json:"file_name" yaml:"log_name"` + FilePath string `json:"log_path" yaml:"log_path"` + FileName string `json:"log_name" yaml:"log_name"` } DdnsConf struct { @@ -25,7 +25,7 @@ type ( TTL uint `json:"ttl" yaml:"ttl"` Domain string `json:"domain" yaml:"domain"` Provider string `json:"provider" yaml:"provider"` - Config map[string]interface{} `json:"config" json:"config" yaml:"config"` + Config map[string]interface{} `json:"config" yaml:"config"` } )