sunty
2019-07-25 9b508223826dd92938112e4d43619bcabdbdbb14
controllers/initForData.go
@@ -1,6 +1,7 @@
package controllers
import (
   "basic.com/dbapi.git"
   "fmt"
   "github.com/gin-gonic/gin"
   "strings"
@@ -75,7 +76,7 @@
      "/" + index + "/_search"
   var setApi dbapi.SysSetApi
   _, sysconf := setApi.GetServerInfo()
   analyServerFilterStr := "{\"term\":{\"analyServerId\":\"" + sysconf.ServerId + "\"}},"
   analyServerFilterStr := "{\"term\":{\"analyServerId\":\"" + sysconf.ServerId + "\"}}"
   prama := "{\"query\":{\"bool\":{\"filter\":[" +
      cameraIdStr +