* Return id when create object by API.

This commit is contained in:
holan20180123
2021-05-12 16:03:12 +08:00
parent c5dd642138
commit c5ac6e1bbe
5 changed files with 52 additions and 41 deletions
+2
View File
@@ -1287,6 +1287,8 @@ class execution extends control
$this->executeHooks($executionID);
if($this->viewType == 'json') $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'id' => $executionID));
if($this->app->openApp == 'doc')
{
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $this->createLink('doc', 'objectLibs', "type=execution")));