1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace App\Http\Controllers\Web\Hardware\Pad;
- use App\Http\Controllers\Web\WebBaseController;
- use Illuminate\Http\Request;
- use App\Repositories\Jobfair\JobfairPersonalJobsApplyRepository;
- class PadYuyueController extends WebBaseController
- {
- protected $jobfairPersonalJobsApplyRepository;
-
- public function __construct(JobfairPersonalJobsApplyRepository $jobfairPersonalJobsApplyRepository) {
- $this->jobfairPersonalJobsApplyRepository = $jobfairPersonalJobsApplyRepository;
- }
- public function list()
- {
- $user = auth('web-company')->user();
- $where = [
- 'company_id'=>$user->id,
- 'jobfair_id'=>session('floorplan_stands.jobfair_id')
- ];
- $result = $this->jobfairPersonalJobsApplyRepository->padApplyJobs($where,10);
- return view('app.hardware.pad.yuyue_list',['result' => $result]);
- }
- }
|