liuxiaolong
2019-12-17 6bbddc16d8497adcd633c30f7aeee0adb5433eb0
extend/config/config.go
@@ -29,6 +29,7 @@
   SudoPassword  string      `mapstructure: "sudoPassword"` //系统密码
   SysThresholds []threshold `mapstructure: "sysThresholds"`
   PTZSpeed      int         `mapstructure: "ptzSpeed"` // 云台移动速度
   PatchPath       string `mapstructure:"patchPath"`//系统更新包路径
}
var Server = &server{}
@@ -40,10 +41,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 {