提交 c964a995 authored 作者: chengye's avatar chengye

test

上级 7e174423
......@@ -61,8 +61,6 @@ class openemfkClassAction extends openapiAction
$model = m(self::TABLE_NAME);
$id =$model->insert($this->data);
$this->showreturn([], ['aaa'=>'cccc'], '201');
if ($id) {
//插入子表数据
$details = m(self::DETAILS_TABLE_NAME);
......@@ -71,6 +69,8 @@ class openemfkClassAction extends openapiAction
$sub['comid'] = 1;
$details->insert($sub);
}
$this->showreturn([], ['aaa'=>$id], '201');
//启动流程
$this->goflow($id);
$this->showreturn(['numb' => $this->data['docnum'], 'id' => $id], '插入数据成功', '200');
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论