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) r.POST("/Persons", capCtl.Persons) return r }