From a3dbafc2bdac0a4db9c6e42a92b8c58e14c4e24d Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期三, 20 十一月 2019 21:08:54 +0800
Subject: [PATCH] add TargetType

---
 extend/config/config.go |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/extend/config/config.go b/extend/config/config.go
index b0a921f..32e4f13 100644
--- a/extend/config/config.go
+++ b/extend/config/config.go
@@ -40,10 +40,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 {
@@ -90,7 +86,7 @@
 	viper.AddConfigPath("/opt/vasystem/config/")
 	err = viper.ReadInConfig()
 	if err != nil {
-		log.Fatal("error on parsing configuration file")
+		log.Fatal("error on parsing configuration file",err)
 	}
 	viper.UnmarshalKey("es", EsInfo)
 	viper.UnmarshalKey("server", Server)

--
Gitblit v1.8.0