request->param(), $user["type"])); } public function listBatchByType() { $projectType = $this->request["type"]; $talentType = $this->request["source"]; return json(BatchApi::getValidBatchs($projectType, $talentType)); } }