From cc9cb1af260fa2683f2a164251c800142a3ba125 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期五, 26 七月 2019 18:21:55 +0800
Subject: [PATCH] fix bug
---
controllers/taglist.go | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/controllers/taglist.go b/controllers/taglist.go
index e6d0a1d..d0226d0 100644
--- a/controllers/taglist.go
+++ b/controllers/taglist.go
@@ -35,7 +35,7 @@
tokenRes["key"] = value.(map[string]interface{})["id"].(string)
tokenRes["title"] = value.(map[string]interface{})["tableName"].(string)
tokenRes["value"] = value.(map[string]interface{})["id"].(string)
- tokenRes["status"] = value.(map[string]interface{})["isDelete"].(string)
+ tokenRes["status"] = value.(map[string]interface{})["isDelete"]
sources = append(sources, tokenRes)
}
util.ResponseFormat(c, code.Success, sources)
--
Gitblit v1.8.0