feat(server-go): 蚕匾/批次/饲养记录 CRUD 与权限(#7)
This commit is contained in:
@@ -109,6 +109,7 @@ func main() {
|
||||
handler.RegisterStorageRoutes(api, db)
|
||||
handler.RegisterKnowledgeRoutes(api, db, s3Svc, cfg.S3BucketImages)
|
||||
handler.RegisterInspectionRoutes(api, db, s3Svc, aiSvc, cfg.S3BucketImages)
|
||||
handler.RegisterTrayBatchRoutes(api, db)
|
||||
|
||||
// 启动后台设备状态同步(每 30 秒查询 WVP 设备在线状态)
|
||||
go startDeviceStatusSync(db, mediaSvc)
|
||||
|
||||
Reference in New Issue
Block a user