From 763e0d0382d27fcee5a090129004e0a1e00cb68c Mon Sep 17 00:00:00 2001 From: sl <你的邮箱@example.com> Date: Wed, 1 Jul 2026 10:26:50 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=B7=BB=E5=8A=A0=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E5=85=A5=E4=BE=B5=E4=B8=8A=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/viid_handler.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/viid_handler.go b/api/viid_handler.go index 5b799fa..eb303d9 100644 --- a/api/viid_handler.go +++ b/api/viid_handler.go @@ -60,6 +60,10 @@ func RegisterVIIDRoutes(r *gin.Engine) { sys.POST("/UnRegister", HandleUnRegister) sys.GET("/Time", HandleSystemTime) } + extend := viid.Group("/Extend") + { + extend.POST("/SceneCapture", HandleSceneCapture) + } viid.POST("/Faces", HandleUploadFaces) } } @@ -78,6 +82,10 @@ func HandleUnRegister(c *gin.Context) { proxyHelper(c, "/VIID/System/UnRegister") } +func HandleSceneCapture(c *gin.Context) { + proxyHelper(c, "/VIID/Extend/SceneCapture") +} + func proxyHelper(c *gin.Context, path string) { resp, err := ProxyRequest(c.Request.Context(), c.Request.Method, path, c.Request.Body, c.Request.Header) if err != nil {