report/task.go
@@ -42,10 +42,16 @@ // 上报bom if config.Options.BomTopic != "" { SendBom(true) SendBom(false) } time.Sleep(time.Duration(config.Options.SyncInterval) * time.Second) } } } func HandleBomQuery(msg []byte) error { SendBom(true) return nil }