sunty
2019-07-02 c4ab4a96dfdd097d0faedd14f10b93b18786101d
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)