From 5179bc5c1501aa12e87c1162d5a1f91aea33abd4 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期四, 16 五月 2024 14:01:22 +0800
Subject: [PATCH] 添加订阅接收,转发
---
service/subscribe.go | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/service/subscribe.go b/service/subscribe.go
index e5fd3dc..556043e 100644
--- a/service/subscribe.go
+++ b/service/subscribe.go
@@ -195,6 +195,13 @@
}
var ids []string
for idx, _ := range task.faceList {
+ // 鎸夋捣搴风ず渚嬪~鍏呬慨鏀瑰瓧娈�
+ task.faceList[idx].ShotTime = task.faceList[idx].FaceAppearTime
+ task.faceList[idx].EntryTime = triggerTime
+ for i, _ := range task.faceList[idx].SubImageList.SubImageInfoObject {
+ task.faceList[idx].SubImageList.SubImageInfoObject[i].EventSort = 2
+ }
+
ids = append(ids, task.faceList[idx].FaceID)
notification.FaceObjectList.FaceObject = append(notification.FaceObjectList.FaceObject, *task.faceList[idx])
}
--
Gitblit v1.8.0