This commit is contained in:
weiz 2024-04-09 10:59:32 +08:00
parent a5388c0138
commit cc937ee684

View File

@ -109,7 +109,7 @@
//获取审批流程列表
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();
return $this->success('请求成功', $data->toArray());
}