panlei
2019-08-27 22a39b184970c265e36a511ca447ec1b6816d109
insertdata/insertDataToEs.go
@@ -420,7 +420,7 @@
            logger.Error("查询摄像机信息失败")
         }
         serverIp, err := GetLocalIP()
         if resp["fileUrl"] != nil {
         url = append(url, resp["fileUrl"].(string))
         esDataId := uuid.NewV4().String()
         linksId := ""
@@ -467,6 +467,7 @@
            logger.Warn("__________________________________________往ES插入yolo数据成功")
            //os.Exit(1)
         }
         }
      } else {
         logger.Debug("timeLabel条件都不符合!")
      }