jump local-storage:raid_status event

This commit is contained in:
link 2024-01-09 02:41:43 +00:00
parent cd06d3ca37
commit 2c1a72c5e5

View File

@ -60,7 +60,9 @@ func EventListen() {
Properties: string(propertiesStr),
UUID: *event.Uuid,
}
logger.Info("write to database", zap.Any("model", model))
if event.Name == "local-storage:raid_status" {
continue
}
service.MyService.Event().CreateEvemt(model)
// logger.Info("info", zap.Any("写入信息1", model))
// output, err := json.MarshalIndent(event, "", " ")