liuxiaolong
2019-10-26 86655db5ef2cca9d7cf4eedae879c3a7c4464b9f
EsApi.go
@@ -327,12 +327,12 @@
   //使用es底层机制处理分页
   analyServerFilterStr := ""
   analyServerId := compareArgs.AnalyServerId
   if analyServerId == "" {
      fmt.Println("no analyServerId")
      return
   if analyServerId != "" {
      analyServerFilterStr = "{\"term\":{\"analyServerId\":\"" + analyServerId + "\"}},"
   }
   analyServerFilterStr := "{\"term\":{\"analyServerId\":\"" + analyServerId + "\"}},"
   //首次请求头
   url := "http://" + serverIp + ":" + serverPort +