From a527225f7f3cc93882aa870c20f0985d07d6fe92 Mon Sep 17 00:00:00 2001
From: sunty <suntianyu0923@163.com>
Date: 星期四, 22 八月 2019 18:12:03 +0800
Subject: [PATCH] set yn main port 7100

---
 controllers/tasklist.go |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/controllers/tasklist.go b/controllers/tasklist.go
index e24848a..820e9d9 100644
--- a/controllers/tasklist.go
+++ b/controllers/tasklist.go
@@ -16,8 +16,8 @@
 // @Accept  json
 // @Produce json
 // @Tags es
-// @Success 200 {string} json "{"code":200, msg:"鐩綍缁撴瀯鏁版嵁", success:true}"
-// @Failure 500 {string} json "{"code":500,  msg:"杩斿洖閿欒淇℃伅", success:false}"
+// @Success 200 {string} json "{"code":200, msg:"", success:true}"
+// @Failure 500 {string} json "{"code":500, msg:"", success:false}"
 // @Router /data/api-v/es/tagList [POST]
 func (sc *EsSearchController) PostEsTaskList(c *gin.Context) {
 
@@ -41,7 +41,7 @@
 			source["title"] = key.(string)
 			source["value"] = key.(string)
 			source["key"] = key.(string)
-			sources := append(sources, source)
+			sources = append(sources, source)
 			fmt.Println(key)
 		}
 

--
Gitblit v1.8.0