liuxiaolong
2019-12-20 c2f8c24f1ddb67f890f9ac4af5328e65a46aab75
extend/config/config.go
@@ -29,6 +29,8 @@
   SudoPassword  string      `mapstructure: "sudoPassword"` //系统密码
   SysThresholds []threshold `mapstructure: "sysThresholds"`
   PTZSpeed      int         `mapstructure: "ptzSpeed"` // 云台移动速度
   PatchPath       string `mapstructure:"patchPath"`//系统更新包路径
   BakPath         string `mapstructure:"bakPath"`//系统更新包路径
}
var Server = &server{}
@@ -40,10 +42,6 @@
}
type esindexlist struct {
   VideoPersons   index `mapstructure:"videopersons"`
   DbTables       index `mapstructure:"dbtables"`
   Dbtablepersons index `mapstructure:"dbtablepersons"`
   Personaction   index `mapstructure:"personaction"`
   AiOcean   index `mapstructure:"aiOcean"`
}
type index struct {