liuxiaolong
2019-07-26 a06945a8759b65aa653073cc83254f9c7f1ccf11
controllers/fileController.go
@@ -215,9 +215,10 @@
         FaceFeature: face.FaceBytes,
         CompareThreshold: searchBody.Threshold,
      }
      if searchBody.DataBases !=nil {
         for idx,tableId :=range searchBody.DataBases {
            if tableId == captureTable{
            if tableId == "esData" {
               searchBody.DataBases = append(searchBody.DataBases[:idx], searchBody.DataBases[idx+1:]...)
               searchBody.DataBases = append(searchBody.DataBases,captureTable)
               break