request->get(['page_no','page_size','type_id']); $result = curl_post(env('project.worker_domain').'/middleapi/dict_data/lists',$params,$this->reqHeader); if($result['code'] == 0){ return $this->fail($result['msg']); } return json($result); } //获取任务审批类型 public function getTaskApproveTypeList(): Json { $params=$this->request->get(); $result = curl_post(env('project.worker_domain').'/middleapi/dict_data/getTaskApproveTypeList',$params,$this->reqHeader); if($result['code'] == 0){ return $this->fail($result['msg']); } return json($result); } }