---
panlei
2019-11-19 5a25fb6bbd594374f9cdc9587b8f2ec5ea5df238
insertdata/insertDataToEs.go
@@ -219,6 +219,14 @@
                  target.TargetLocation = Points{TopLeft: Point{face.Location.X, face.Location.Y}, BottomRight: Point{face.Location.X + face.Location.Width, face.Location.Y + face.Location.Height}}
                  var targetInfos []Target
                  targetInfos = append(targetInfos, *target)
                  sdkname := ""
                  switch key {
                  case "face":
                     sdkname = "人脸"
                  case "plate":
                     sdkname = "车牌识别"
                  }
                  pervideo := PerVideoPicture{
                     face.Uuid,
                     msg.Cid,
@@ -228,7 +236,7 @@
                     imgMaxUrl,
                     msg.Tasklab.Taskid,
                     msg.Tasklab.Taskname,
                     "人脸",
                     sdkname,
                     time.Now().Format("2006-01-02 15:04:05"),
                     alarmRules,
                     time.Now().Format("2006-01-02 15:04:05"), // 只检测,没有比对时间