From e4aeb97f19239c0440e0becb100f2e322eaa6c35 Mon Sep 17 00:00:00 2001
From: panlei <2799247126@qq.com>
Date: 星期四, 18 七月 2019 17:38:19 +0800
Subject: [PATCH] ---
---
insertdata/insertDataToEs.go | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/insertdata/insertDataToEs.go b/insertdata/insertDataToEs.go
index a33c880..9a9bec8 100644
--- a/insertdata/insertDataToEs.go
+++ b/insertdata/insertDataToEs.go
@@ -23,11 +23,11 @@
type conf struct {
PhotoUrl string `yaml:"photoUrl"`
- Videopersons string `yaml:"videopersons"`
- Personaction string `yaml:"personaction"`
- Serverip string `yaml:"serverIp"`
- Serverport string `yaml:"serverPort"`
- Dbtablepersons string `yaml:"dbTablePersons"`
+ VideoPersons string `yaml:"videoPersons"`
+ PersonAction string `yaml:"personAction"`
+ ServerIp string `yaml:"serverIp"`
+ ServerPort string `yaml:"serverPort"`
+ DbTablePersons string `yaml:"dbTablePersons"`
}
func init() {
@@ -40,8 +40,8 @@
//鎶妝aml褰㈠紡鐨勫瓧绗︿覆瑙f瀽鎴恠truct绫诲瀷
yaml.Unmarshal(data, &c)
weedfsUrl = c.PhotoUrl
- videoPersonUrl = c.Videopersons
- personAction = c.Personaction
+ videoPersonUrl = c.VideoPersons
+ personAction = c.PersonAction
}
// 浜鸿劯鐨勬暟鎹粨鏋�
--
Gitblit v1.8.0