From 59e648d84df45c97c4591dd8c651fca0f20f86c1 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期六, 27 七月 2019 13:31:39 +0800 Subject: [PATCH] compareResult sort --- 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