From dc77f38cb896aab2ee15840c50a66a78747422aa Mon Sep 17 00:00:00 2001
From: panlei <2799247126@qq.com>
Date: 星期一, 18 十一月 2019 20:59:10 +0800
Subject: [PATCH] 缓存初始化字典
---
insertdata/config.go | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/insertdata/config.go b/insertdata/config.go
index 71cd45d..e8cab1a 100644
--- a/insertdata/config.go
+++ b/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()
}
\ No newline at end of file
--
Gitblit v1.8.0