mirror of
https://github.com/KaySar12/NextZen-UserService.git
synced 2025-10-06 19:59:42 +07:00
jump local-storage:raid_status event
This commit is contained in:
@@ -60,7 +60,9 @@ func EventListen() {
|
|||||||
Properties: string(propertiesStr),
|
Properties: string(propertiesStr),
|
||||||
UUID: *event.Uuid,
|
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)
|
service.MyService.Event().CreateEvemt(model)
|
||||||
// logger.Info("info", zap.Any("写入信息1", model))
|
// logger.Info("info", zap.Any("写入信息1", model))
|
||||||
// output, err := json.MarshalIndent(event, "", " ")
|
// output, err := json.MarshalIndent(event, "", " ")
|
||||||
|
|||||||
Reference in New Issue
Block a user