From 3c00b78116b561186876eac1f8589366a347a981 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期五, 01 九月 2023 19:16:11 +0800 Subject: [PATCH] 添加物料属性 --- report/task.go | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/report/task.go b/report/task.go index f0011d1..50c2727 100644 --- a/report/task.go +++ b/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 +} -- Gitblit v1.8.0