|
@@ -794,6 +794,7 @@ class RecruitController extends Controller
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
$list = RecruitAppointInfo::where($where)
|
|
|
->join('recruit_post', 'recruit_appoint_info.post_id', '=', 'recruit_post.id', 'left')
|
|
|
->join('recruit_ticket', 'recruit_ticket.appoint_id', '=', 'recruit_appoint_info.id','left')
|
|
@@ -2560,9 +2561,11 @@ class RecruitController extends Controller
|
|
|
if (in_array('identification', explode(',', $recruit->forms)) || in_array('internship',explode(',', $recruit->forms))) {
|
|
|
$identification = json_decode($v->identification, true);
|
|
|
$identifications = [];
|
|
|
- foreach ($identification as $val){
|
|
|
- if(array_key_exists('path', $val['response'])){
|
|
|
- array_push($identifications,"https://www.jucai.gov.cn" . $val['response']['path']);
|
|
|
+ if(is_array($identification)){
|
|
|
+ foreach ($identification as $val){
|
|
|
+ if(array_key_exists('path', $val['response'])){
|
|
|
+ array_push($identifications,"https://www.jucai.gov.cn" . $val['response']['path']);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
array_push($item, implode("\r\n", $identifications));
|
|
@@ -2570,9 +2573,11 @@ class RecruitController extends Controller
|
|
|
if (in_array('education_certification', explode(',', $recruit->forms)) || in_array('internship',explode(',', $recruit->forms))) {
|
|
|
$education_certification = json_decode($v->education_certification, true);
|
|
|
$education_certifications = [];
|
|
|
- foreach ($education_certification as $val){
|
|
|
- if(array_key_exists('path', $val['response'])){
|
|
|
- array_push($education_certifications,"https://www.jucai.gov.cn" . $val['response']['path']);
|
|
|
+ if(is_array($education_certification)){
|
|
|
+ foreach ($education_certification as $val){
|
|
|
+ if(array_key_exists('path', $val['response'])){
|
|
|
+ array_push($education_certifications,"https://www.jucai.gov.cn" . $val['response']['path']);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
array_push($item, implode("\r\n", $education_certifications));
|
|
@@ -2580,14 +2585,15 @@ class RecruitController extends Controller
|
|
|
if (in_array('other_certification', explode(',', $recruit->forms)) || in_array('internship',explode(',', $recruit->forms))) {
|
|
|
$other_certification = json_decode($v->other_certification, true);
|
|
|
$other_certifications = [];
|
|
|
- if($other_certification){
|
|
|
- foreach ($other_certification as $val){
|
|
|
- if(array_key_exists('path', $val['response'])){
|
|
|
- array_push($other_certifications,"https://www.jucai.gov.cn" . $val['response']['path']);
|
|
|
+ if(is_array($other_certification)){
|
|
|
+ if($other_certification){
|
|
|
+ foreach ($other_certification as $val){
|
|
|
+ if(array_key_exists('path', $val['response'])){
|
|
|
+ array_push($other_certifications,"https://www.jucai.gov.cn" . $val['response']['path']);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
array_push($item, implode("\r\n", $other_certifications));
|
|
|
}
|
|
|
if (in_array('chengnuoshu', explode(',', $recruit->forms))) {
|