审批类型列表
This commit is contained in:
parent
e4499b9ec1
commit
365a41d8ec
@ -17,8 +17,8 @@ class ApproveController extends BaseApiController
|
||||
|
||||
public function approveType()
|
||||
{
|
||||
$list = Approve::where(['status' => 1])->field(['id,name'])->select()->toArray();
|
||||
$this->success('成功', $list);
|
||||
$list = Db::name('flow_type')->where(['status' => 1])->field(['id,name'])->select()->toArray();
|
||||
return $this->success('成功', $list);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user