修正流程引擎多人执行模式bug

This commit is contained in:
2021-04-13 00:01:21 +08:00
parent de8a7e82be
commit d5da54b817
27 changed files with 2383 additions and 85 deletions
@@ -110,11 +110,11 @@ class CustomerApplyHook
$customer['department_code'] = $department['code'];
$customer['headCode'] = $customer['code'];
$ret = plugin_sync_api('CustomerSync', $customer);
if ($ret['success'] == true) {
return $params;
$ret = plugin_sync_api('postCustomer', $customer);
if ($ret['error_code'] > 0) {
abort_error($ret['msg']);
}
abort_error($ret['msg']);
return $params;
}
public function onBeforeDelete($params) {