From f86d25d5143847692779dd4e81b7e47d9b25376e Mon Sep 17 00:00:00 2001
From: sunty <suntianyu0923@163.com>
Date: 星期二, 30 七月 2019 11:16:15 +0800
Subject: [PATCH] fix delete dbtable add GetTotalFromDb and EsReq

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

diff --git a/controllers/tasklist.go b/controllers/tasklist.go
index e24848a..c49a822 100644
--- a/controllers/tasklist.go
+++ b/controllers/tasklist.go
@@ -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