接入萤石摄像头后端

This commit is contained in:
XM-GO
2023-09-04 17:48:37 +08:00
parent 780d1eafbf
commit d41644d771
15 changed files with 813 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ import (
jobRouter "pandax/apps/job/router"
logRouter "pandax/apps/log/router"
sysRouter "pandax/apps/system/router"
videoRouter "pandax/apps/video/router"
"pandax/pkg/middleware"
)
@@ -74,6 +75,10 @@ func InitRouter() *transport.HttpServer {
ruleRouter.InitRuleChainRouter(container)
ruleRouter.InitRuleChainMsgLogRouter(container)
}
{
//萤石摄像头
videoRouter.InitEzvizRouter(container)
}
// api接口
middleware.SwaggerConfig(container)
// 开启调度任务