提交 251b2d08 authored 作者: chengye's avatar chengye

test

上级 c964a995
...@@ -64,12 +64,13 @@ class openemfkClassAction extends openapiAction ...@@ -64,12 +64,13 @@ class openemfkClassAction extends openapiAction
if ($id) { if ($id) {
//插入子表数据 //插入子表数据
$details = m(self::DETAILS_TABLE_NAME); $details = m(self::DETAILS_TABLE_NAME);
$this->showreturn([], ['aaa'=>$id], '201');
foreach ($this->subdata as $sub) { foreach ($this->subdata as $sub) {
$sub['mid'] = $id; $sub['mid'] = $id;
$sub['comid'] = 1; $sub['comid'] = 1;
$details->insert($sub); $details->insert($sub);
} }
$this->showreturn([], ['aaa'=>$id], '201');
//启动流程 //启动流程
$this->goflow($id); $this->goflow($id);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论