示例#1
0
 public function getCompanyJobSoftSkills(CompanyService $company, SkillService $skill, $user_id, $company_id, $job_id)
 {
     try {
         $query = ['select' => 'id', 'whereNotIn' => [], 'list' => true];
         $skill_ids = $skill->getSkillsByType('soft', $query);
         return $this->json_response->success($company->getAllCompanyJobSkillsByType($job_id, $skill_ids));
     } catch (Exception $e) {
         return $this->json_response->error(['error' => $e->getMessage()]);
     }
 }