This commit is contained in:
chenbo 2023-09-19 10:34:39 +08:00
parent 7a74b82b9c
commit 28b3ae8015

View File

@ -17,7 +17,7 @@ class ApproveController extends BaseApiController
public function approveType()
{
$list = Db::name('flow_type')->where(['status' => 1])->field(['id,name'])->select()->toArray();
$list = Db::name('flow_type')->where(['status' => 1])->field(['id, title'])->select()->toArray();
return $this->success('成功', $list);
}