feat(knowledge): 图片上传接口(S3 存储,限 5MB jpg/png/webp)
This commit is contained in:
@@ -106,7 +106,7 @@ func main() {
|
||||
handler.RegisterVideoClipRoutes(api, db, cfg)
|
||||
handler.RegisterVideoRecordRoutes(api, db, mediaSvc, cfg)
|
||||
handler.RegisterStorageRoutes(api, db)
|
||||
handler.RegisterKnowledgeRoutes(api, db)
|
||||
handler.RegisterKnowledgeRoutes(api, db, s3Svc, cfg.S3BucketImages)
|
||||
|
||||
// 启动后台设备状态同步(每 30 秒查询 WVP 设备在线状态)
|
||||
go startDeviceStatusSync(db, mediaSvc)
|
||||
|
||||
Reference in New Issue
Block a user