From c4ab4a96dfdd097d0faedd14f10b93b18786101d Mon Sep 17 00:00:00 2001
From: sunty <1172534965@qq.com>
Date: 星期二, 02 七月 2019 17:37:54 +0800
Subject: [PATCH] update dbtable and dbtablepersons update taglist add ageDecription taskName alarmLevel conditions into inputvalue

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

diff --git a/controllers/taglist.go b/controllers/taglist.go
index d2253a8..7e57a03 100644
--- a/controllers/taglist.go
+++ b/controllers/taglist.go
@@ -32,9 +32,9 @@
 	fmt.Println(tokenRes["datalist"].([]interface{}))
 	for _, value := range tokenRes["datalist"].([]interface{}) {
 		tokenRes := make(map[string]interface{})
-		tokenRes["key"] = value.(map[string]interface{})["uuid"].(string)
+		tokenRes["key"] = value.(map[string]interface{})["id"].(string)
 		tokenRes["title"] = value.(map[string]interface{})["tableName"].(string)
-		tokenRes["value"] = value.(map[string]interface{})["uuid"].(string)
+		tokenRes["value"] = value.(map[string]interface{})["id"].(string)
 		sources = append(sources, tokenRes)
 	}
 	util.ResponseFormat(c, code.Success, sources)

--
Gitblit v1.8.0