feat(knowledge): 知识库 API、权限与迁移

This commit is contained in:
weijuesen
2026-08-12 10:48:14 +08:00
parent 8e302349a7
commit 3afc34d0de
4 changed files with 234 additions and 0 deletions
+1
View File
@@ -106,6 +106,7 @@ func main() {
handler.RegisterVideoClipRoutes(api, db, cfg)
handler.RegisterVideoRecordRoutes(api, db, mediaSvc, cfg)
handler.RegisterStorageRoutes(api, db)
handler.RegisterKnowledgeRoutes(api, db)
// 启动后台设备状态同步(每 30 秒查询 WVP 设备在线状态)
go startDeviceStatusSync(db, mediaSvc)