|
@@ -56,7 +56,10 @@ class RecruitController extends MobileBaseController
|
|
|
//查询条件
|
|
|
$size = 10;
|
|
|
$where = [
|
|
|
- ['is_health', '=', 1],
|
|
|
+ ['valid', '=', 1], //是否有效
|
|
|
+ ['audit', '=', 1], //审核通过
|
|
|
+ ['display', '=', 1], //是否显示
|
|
|
+ ['is_health', '=', 1], //是否卫健
|
|
|
];
|
|
|
if (!empty($params['keyword'])) {
|
|
|
$where[] = ['jobs_name', 'like', '%' . $params['keyword'] . '%'];
|
|
@@ -177,6 +180,7 @@ class RecruitController extends MobileBaseController
|
|
|
{
|
|
|
$job_id = $request->input('id');
|
|
|
$job_rst = $this->jobsService->getJobInfo(['id' => $job_id]); //获取job信息
|
|
|
+// dd($job_rst);
|
|
|
if ($job_rst['status'] == 0) {
|
|
|
$back_url = \Illuminate\Support\Facades\URL::previous();
|
|
|
return $this->showMessage($job_rst['error'], $back_url, true, '上一页', '3');
|