From eb2c3a8890a0e9695c0cd2bc3b3dc310c6fbcfa9 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期六, 26 十月 2019 11:28:23 +0800
Subject: [PATCH] fix user timeout

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

diff --git a/extend/config/config.go b/extend/config/config.go
index df3e1d6..0a7b6b0 100644
--- a/extend/config/config.go
+++ b/extend/config/config.go
@@ -11,8 +11,6 @@
 	JwtExpire string `mapstructure: "jwtExpire"`
 	Url       string `mapstructure: "url"`
 	AnalyServerId string `mapstructure: "analyServerId"`
-	ImageUrl  string `mapstructure: "imageUrl"`
-	PublicDomain string `mapstructure: "publicDomain"`
 	NetworkAdapter string `mapstructure: "networkAdapter"`
 
 	DeviceNum string `mapstructure: "deviceNum"` //璁惧缂栧彿
@@ -26,24 +24,8 @@
 
 var Server = &server{}
 
-type weedfs struct {
-	Ip string `mapstructure: "ip"`
-	UploadPort int `mapstructure: "uploadport"`
-	VisitPort int `mapstructure: "visitport"`
-}
-
-var WeedFs = &weedfs{}
-
-type database struct {
-	Drive    string `mapstructure:"drive"`
-	Name     string `mapstructure:"name"`
-	FilePath string `mapstructure:"filepath"`
-}
-
 // wp add es 绱㈠紩 浠ュ強 IP port
 type esinfo struct {
-	Masterip string      `mapstructure:"masterip"`
-	Httpport string      `mapstructure:"httpport"`
 	Shards string		 `mapstructure:"shards"`
 	EsIndex  esindexlist `mapstructure:"index"`
 }
@@ -67,8 +49,6 @@
 var SoPath = &sopath{}
 
 var EsInfo = &esinfo{}
-
-var DBconf = &database{}
 
 type facedetect struct {
 	Ip string `mapstructure:"Ip"`
@@ -104,8 +84,6 @@
 	}
 	viper.UnmarshalKey("es", EsInfo)
 	viper.UnmarshalKey("server", Server)
-	viper.UnmarshalKey("database", DBconf)
-	viper.UnmarshalKey("weedfs", WeedFs)
 	viper.UnmarshalKey("sopath",SoPath)
 	viper.UnmarshalKey("facedetect", FaceDetectSet)
 	viper.UnmarshalKey("dbpersoncompare",DbPersonCompInfo)

--
Gitblit v1.8.0