style: 修改settings配置结构

This commit is contained in:
Mmx233
2022-01-21 22:42:50 +08:00
parent 30878bd990
commit ce0c178e91
6 changed files with 18 additions and 12 deletions

View File

@@ -15,7 +15,7 @@ func GetInterfaceAddr() ([]srunModels.Eth, error) {
if e != nil {
return nil, e
}
reg, e := regexp.Compile(global.Config.Settings.Interfaces)
reg, e := regexp.Compile(global.Config.Settings.Basic.Interfaces)
if e != nil {
Log.Println("interfaces设置异常无法解析")
return nil, e