panlei
2019-11-18 d22ebc2f716bcea4ff88b4fc8df389b872c6acb3
insertdata/config.go
@@ -25,10 +25,7 @@
}
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 {
   IndexName string `mapstructure:"index"`
@@ -59,4 +56,5 @@
   viper.UnmarshalKey("es", EsInfo)
   viper.UnmarshalKey("weedfs", WeedFs)
   viper.UnmarshalKey("sopath",SoPath)
   //InitInsertEs()
}