update
This commit is contained in:
parent
b67fc3956e
commit
bb7582be81
@ -78,7 +78,7 @@ class MaterialPurchaseRequestController extends BaseAdminController
|
|||||||
|
|
||||||
public function flows(): \think\response\Json
|
public function flows(): \think\response\Json
|
||||||
{
|
{
|
||||||
$flow_type = FlowType::where('type',5)->where('name','clsg')->findOrEmpty();
|
$flow_type = FlowType::where('type',5)->where('name','cgsg')->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