From b5e236e28dee3e9481a48c615be22d70df44a42c Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期二, 19 十一月 2019 15:25:49 +0800
Subject: [PATCH] add log

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

diff --git a/extend/config/config.go b/extend/config/config.go
index 2ab67ab..61e5126 100644
--- a/extend/config/config.go
+++ b/extend/config/config.go
@@ -44,6 +44,7 @@
 	DbTables       index `mapstructure:"dbtables"`
 	Dbtablepersons index `mapstructure:"dbtablepersons"`
 	Personaction   index `mapstructure:"personaction"`
+	AiOcean   index `mapstructure:"aiOcean"`
 }
 type index struct {
 	IndexName string `mapstructure:"index"`
@@ -89,7 +90,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