From 7c952ec032baaeda70bfb9483cf7e7bf93d92811 Mon Sep 17 00:00:00 2001
From: panlei <2799247126@qq.com>
Date: 星期三, 20 十一月 2019 19:52:54 +0800
Subject: [PATCH] ---

---
 insertdata/insertDataToEs.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/insertdata/insertDataToEs.go b/insertdata/insertDataToEs.go
index 8196a51..af570d2 100644
--- a/insertdata/insertDataToEs.go
+++ b/insertdata/insertDataToEs.go
@@ -189,9 +189,7 @@
 						target.TargetId = face.Id
 						target.TargetScore = face.Score
 						target.TargetType = face.Type
-						logger.Info("浜鸿劯鐨勭壒寰佸�兼槸锛�",face.Feature)
 						target.Feature = base64.StdEncoding.EncodeToString(face.Feature)
-						logger.Info("base64鐗堟湰锛�",target.Feature)
 						target.PicSmUrl = resp["fileUrl"].(string)
 						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
@@ -363,6 +361,7 @@
 							var target1 = new(Target)
 							target1.TargetId = target.Id
 							target1.TargetScore = target.Score
+							target1.TargetType = target.Type
 							target1.TargetLocation = Points{TopLeft: Point{target.Location.X, target.Location.Y}, BottomRight: Point{target.Location.X + target.Location.Width, target.Location.Y + target.Location.Height}}
 							targetInfos = append(targetInfos, *target1)
 						}
@@ -563,6 +562,7 @@
 						var target1 = new(Target)
 						target1.TargetId = target.Id
 						target1.TargetScore = target.Score
+						target1.TargetType = target.Type
 						target1.TargetLocation = Points{TopLeft: Point{target.Location.X, target.Location.Y}, BottomRight: Point{target.Location.X + target.Location.Width, target.Location.Y + target.Location.Height}}
 						targetInfos = append(targetInfos, *target1)
 					}

--
Gitblit v1.8.0