增加触发逻辑执行

This commit is contained in:
白茶清欢 2023-02-09 18:29:45 +08:00
parent 2bee255fcf
commit 14d80e0f6f

View File

@ -104,6 +104,8 @@ func (r *Runtime) WrapRun(action string, startData map[string]interface{}, logic
return
}
behaviorID := r.StartBehavior(action, startData)
// 执行逻辑
logic()
defer r.FinishBehavior(behaviorID, nil)
}