From 5bf9f5cc0ad2689de4e34d628d8ac3168df5142a Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期五, 23 八月 2024 17:41:41 +0800
Subject: [PATCH] 修复编译bug
---
controller/captureCtl.go | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/controller/captureCtl.go b/controller/captureCtl.go
index 5c7d914..79efc0f 100644
--- a/controller/captureCtl.go
+++ b/controller/captureCtl.go
@@ -3,7 +3,6 @@
import (
"encoding/base64"
"fmt"
- "gat1400Exchange/util"
"math/rand"
"net/http"
"path"
@@ -15,6 +14,7 @@
"gat1400Exchange/pkg/logger"
"gat1400Exchange/repository"
"gat1400Exchange/service"
+ "gat1400Exchange/util"
"gat1400Exchange/vo"
"github.com/gin-gonic/gin"
@@ -82,6 +82,10 @@
go a.Repository.FaceForward(req.FaceListObject.FaceObject)
}
+ if config.ForwardConf.RecordServer != "" {
+ go a.Repository.PubRecordMessage(face.DeviceID, face.FaceID)
+ }
+
rspMsg := vo.ResponseStatus{
RequestURL: c.FullPath(),
StatusCode: vo.StatusSuccess,
--
Gitblit v1.8.0