增加触发逻辑执行

This commit is contained in:
zhangdeman committed 2023-02-09 18:29:45 +08:00
1 parent 2bee255fcf
commit 14d80e0f6f
1 file changed
+2
+2
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)
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.