|
@@ -51,6 +51,7 @@ class RecruitController extends MobileBaseController
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ $params['health_type'] = $request->input('health_type', 1);
|
|
|
|
|
|
//查询条件
|
|
|
$size = 10;
|
|
@@ -69,6 +70,9 @@ class RecruitController extends MobileBaseController
|
|
|
if (!empty($params['education'])) {
|
|
|
$where[] = ['education', '=', $params['education']];
|
|
|
}
|
|
|
+ if (!empty($params['health_type'])) {
|
|
|
+ $where[] = ['health_type', '=', $params['health_type']];
|
|
|
+ }
|
|
|
|
|
|
$list = Jobs::where($where)->orderBy('updated_at', 'desc')->paginate($size);
|
|
|
if ($list->total() > 0) {
|