From 75c6f6fea50b977cb72a50f4609a5cbbbf235c35 Mon Sep 17 00:00:00 2001
From: sunty <suntianyu0923@163.com>
Date: 星期一, 29 七月 2019 10:07:56 +0800
Subject: [PATCH] delete analyServerId omitempty

---
 service/FaceCompareService.go |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/service/FaceCompareService.go b/service/FaceCompareService.go
index 68b4fcf..d9598bc 100644
--- a/service/FaceCompareService.go
+++ b/service/FaceCompareService.go
@@ -91,6 +91,7 @@
 	TaskName string `json:"taskName"`
 	BaseInfo []DbPersonVo `json:"baseInfo"`
 	VideoUrl string `json:"videoUrl"`
+	SdkName string `json:"sdkName"`
 }
 type DbPersonVo struct {
 	BwType string `json:"bwType"`
@@ -206,7 +207,7 @@
 		logger.Debug("videoPersons.len:",len(videopersons))
 		for _,vp :=range videopersons {
 			isAlarmInt, _ := strconv.Atoi(vp.IsAlarm)
-			var bi []DbPersonVo
+			bi := make([]DbPersonVo,0)
 			for _,p :=range vp.BaseInfo {
 				bi = append(bi, DbPersonVo{
 					PersonId: p.PersonId,
@@ -236,6 +237,7 @@
 				TaskId: vp.TaskId,
 				VideoUrl: vp.VideoUrl,
 				BaseInfo: bi,
+				SdkName: "浜鸿劯",
 			}
 			resultList = append(resultList,vpE)
 		}

--
Gitblit v1.8.0