From 4ed434520812aecd1e1500b634ca6791e325d3d3 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期五, 26 七月 2019 15:51:24 +0800 Subject: [PATCH] -- --- controllers/taglist.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/controllers/taglist.go b/controllers/taglist.go index 565ca95..746402f 100644 --- a/controllers/taglist.go +++ b/controllers/taglist.go @@ -36,7 +36,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) - status = int(value.(map[string]interface{})["isDelete"].(float64)) + status := int(value.(map[string]interface{})["isDelete"].(float64)) tokenRes["status"] = strconv.Itoa(status) sources = append(sources, tokenRes) } -- Gitblit v1.8.0