func consume(event *model.Event, isHigh bool) { actionId := event.ActionId() if actionId <= 0 { return } action := api.GetAction(actionId) if action == nil { return } if action.Callback == 1 { HandleCallback(event, action) return } consumeEvents(event, action) }