From 2c43d36c526392576b8fb99b31c85ed977299f53 Mon Sep 17 00:00:00 2001 From: panlei <2799247126@qq.com> Date: 星期四, 21 十一月 2019 17:38:04 +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 bf65120..3b86ac5 100644 --- a/insertdata/insertDataToEs.go +++ b/insertdata/insertDataToEs.go @@ -361,7 +361,7 @@ var target1 = new(Target) target1.TargetId = target.Id target1.TargetScore = target.Score - target1.TargetType = target.Type + target1.TargetType = "action" 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) } @@ -562,7 +562,7 @@ var target1 = new(Target) target1.TargetId = target.Id target1.TargetScore = target.Score - target1.TargetType = target.Type + target1.TargetType = "action" 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