From 0abfd0126dcb316f24da5c207bdf38fc729ac907 Mon Sep 17 00:00:00 2001
From: panlei <2799247126@qq.com>
Date: 星期一, 16 九月 2019 17:24:55 +0800
Subject: [PATCH] 读公共的配置文件

---
 insertdata/config.go |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/insertdata/config.go b/insertdata/config.go
index 71cd45d..0a3bcab 100644
--- a/insertdata/config.go
+++ b/insertdata/config.go
@@ -59,4 +59,5 @@
 	viper.UnmarshalKey("es", EsInfo)
 	viper.UnmarshalKey("weedfs", WeedFs)
 	viper.UnmarshalKey("sopath",SoPath)
+	InitInsertEs()
 }
\ No newline at end of file

--
Gitblit v1.8.0