From eef73867db718d4a6b706d591508d3e22c9949df Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期二, 04 八月 2020 15:26:43 +0800
Subject: [PATCH] update esutil

---
 router/router.go |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/router/router.go b/router/router.go
index 744da1b..7446a96 100644
--- a/router/router.go
+++ b/router/router.go
@@ -50,6 +50,7 @@
     fStackC := new(controllers.FileStackController)
 	cameraRuleController := new (controllers.CameraRuleController)
 	rtc := new(controllers.RuleTemplateController)
+	voiceC := new(controllers.VoiceController)
 
 	urlPrefix := "/data/api-v" // wp 娣诲姞 璺緞 鍓嶇紑
 
@@ -125,7 +126,7 @@
 
 		camera.POST("/ptzControl", ptzController.Move)
 		camera.GET("/statisticRunInfo", cameraController.StatisticRunInfo)
-		//camera.POST("/pasteRules", cameraTaskController.PasteRules)
+		camera.POST("/pasteRules", cameraRuleController.PasteRules)
 	}
 
 	rtcApi := r.Group(urlPrefix + "/template")
@@ -292,6 +293,7 @@
 		sdkApi.GET("/sdkDownload", sdkController.SdkDownLoad)
 		sdkApi.GET("/upload", sdkController.Upload)
 		sdkApi.POST("/upload", sdkController.UploadPack)
+		sdkApi.POST("/showInstallInfo", sdkController.ShowInstallInfo)
 		sdkApi.POST("/install", sdkController.Install)
 		sdkApi.GET("/active", sdkController.Active)
 	}
@@ -368,6 +370,11 @@
         fStackApi.POST("/changeEnable", fStackC.ChangeEnable)
         fStackApi.DELETE("/delete/:id", fStackC.Delete)
     }
+	voiceApi := r.Group(urlPrefix + "/voice")
+	{
+		voiceApi.GET("/findAll", voiceC.FindAll)
+	}
+
 
 	// 鏂囦欢 涓婁紶
 	r.Static("static", "./static") // 闈欐�佹枃浠�

--
Gitblit v1.8.0