增加触发逻辑执行
This commit is contained in:
parent
2bee255fcf
commit
14d80e0f6f
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user