panlei
2019-09-29 e8166a1b997086554a83c486d99d3887733c322d
insertdata/insertDataToEs.go
@@ -1,13 +1,12 @@
package insertdata
import (
   "basic.com/valib/logger.git"
   "encoding/base64"
   "encoding/json"
   "errors"
   "fmt"
   "net"
   "ruleprocess/cache"
   "basic.com/valib/logger.git"
   "strconv"
   "time"
@@ -243,9 +242,9 @@
               "",
               alarmRules,
               time.Now().Format("2006-01-02 15:04:05"), // 只检测,没有比对时间
               strconv.FormatUint(face.Id, 10),            //暂改为人脸id strconv.FormatUint(face.Id, 10)
               sex,            //暂改为人脸id strconv.FormatUint(face.Id, 10)
               face.ThftRes.Age,
               fmt.Sprintf("%.2f",face.Score), // 暂改为分值fmt.Sprintf("%.2f",face.Score)
               ageDescription, // 暂改为分值fmt.Sprintf("%.2f",face.Score)
               race,
               face.ThftRes.Smile,
               face.ThftRes.Beauty,