zhangzengfei
2024-05-17 2000b36f214b2c8edcec0d812e30a6db85a46482
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package routes
 
import (
    "gat1400Exchange/controller"
 
    "github.com/gin-gonic/gin"
)
 
// 注册公共功能路由
func InitCaptureRouters(r *gin.RouterGroup) gin.IRoutes {
    capCtl := controller.NewCaptureController()
 
    // 批量人脸新增
    r.POST("/Faces", capCtl.Faces)
    r.POST("/VideoLabels", capCtl.VideoLabels)
 
    return r
}