* Optimize function executeHooks.

This commit is contained in:
liugang
2019-07-24 10:49:41 +08:00
parent f1b0faf11b
commit f70eef7789
12 changed files with 66 additions and 64 deletions
+2
View File
@@ -205,6 +205,8 @@ class control extends baseControl
*/
public function executeHooks($methodName, $objectID)
{
if(!isset($this->config->bizVersion)) return false;
$flowFile = $this->app->getModuleRoot() . 'workflow/model.php';
$actionFile = $this->app->getModuleRoot() . 'workflowaction/model.php';
$hookFile = $this->app->getModuleRoot() . 'workflowhook/model.php';