| 1234567891011121314151617181920212223242526272829303132333435363738 | 
							- <?php
 
- /**
 
-  * Created by PhpStorm.
 
-  * User: zhanghao
 
-  * Date: 2019/7/24
 
-  * Time: 10:42
 
-  */
 
- namespace App\Services\Jobfair;
 
- use App\Exceptions\ResponseException;
 
- use App\Repositories\Jobfair\JobfairPersonSignedRepository;
 
- use App\Repositories\ResumeRepository;
 
- class JobfairPersonSignedService
 
- {
 
-     protected $jobfairPersonSignedRepository;
 
-     /**
 
-      * JobfairPersonalJopApplyService constructor.
 
-      * @param $resumeRepository
 
-      */
 
-     public function __construct(JobfairPersonSignedRepository $jobfairPersonSignedRepository)
 
-     {
 
-         $this->jobfairPersonSignedRepository = $jobfairPersonSignedRepository;
 
-     }
 
-     //猜你喜欢
 
-     public function likeResumes($category,$jobfair_id)
 
-     {
 
-         foreach ($category as $value) {
 
-             $where[] = ['intention_jobs_id','like','%'.$value.'%'];
 
-         }
 
-         return $this->jobfairPersonSignedRepository->likeResumes($where,$jobfair_id);
 
-     }
 
- }
 
 
  |