liuxiaolong
2019-07-26 87cf6baa812ede35dddc49918477e557bc71fc69
controllers/taglist.go
@@ -8,7 +8,6 @@
   "webserver/extend/config"
   "webserver/extend/esutil"
   "webserver/extend/util"
   "strconv"
)
//标签列表
@@ -36,8 +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)
      status := int(value.(map[string]interface{})["isDelete"].(float64))
       tokenRes["status"] = strconv.Itoa(status)
      tokenRes["status"] = value.(map[string]interface{})["isDelete"].(string)
      sources = append(sources, tokenRes)
   }
   util.ResponseFormat(c, code.Success, sources)