| | |
| | | } |
| | | |
| | | var notification = vo.FaceNotification{ |
| | | NotificationID: triggerTime + snowflake.GenerateIdStr(), |
| | | SubscribeID: task.conf.Id, |
| | | Title: task.conf.Ext.Title, |
| | | TriggerTime: triggerTime, |
| | | NotificationID: triggerTime + snowflake.GenerateIdStr(), |
| | | SubscribeID: task.conf.Id, |
| | | Title: task.conf.Ext.Title, |
| | | TriggerTime: triggerTime, |
| | | ExecuteOperation: 1, |
| | | } |
| | | var ids []string |
| | | for idx, _ := range task.faceList { |
| | |
| | | } |
| | | |
| | | type FaceNotification struct { |
| | | NotificationID string |
| | | SubscribeID string |
| | | Title string |
| | | TriggerTime string |
| | | InfoIDs string |
| | | FaceObjectList NotificationFaceList |
| | | NotificationID string |
| | | SubscribeID string |
| | | Title string |
| | | TriggerTime string |
| | | InfoIDs string |
| | | ExecuteOperation int |
| | | FaceObjectList NotificationFaceList |
| | | } |