| | |
| | | |
| | | 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") |
| | |
| | | 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) |
| | | } |