update
This commit is contained in:
parent
a5388c0138
commit
cc937ee684
@ -109,7 +109,7 @@
|
|||||||
//获取审批流程列表
|
//获取审批流程列表
|
||||||
public function flows(): \think\response\Json
|
public function flows(): \think\response\Json
|
||||||
{
|
{
|
||||||
$flow_type = FlowType::where('type', 1)->where('name', 'kjxy')->findOrEmpty();
|
$flow_type = FlowType::where('type', 1)->where('name', 'bcxy')->findOrEmpty();
|
||||||
$data = Flow::field('id,name')->where('flow_cate', $flow_type['id'])->where('status', 2)->select();
|
$data = Flow::field('id,name')->where('flow_cate', $flow_type['id'])->where('status', 2)->select();
|
||||||
return $this->success('请求成功', $data->toArray());
|
return $this->success('请求成功', $data->toArray());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user