|
@@ -2272,7 +2272,9 @@ class RecruitController extends Controller
|
|
|
$identification = json_decode($v->identification, true);
|
|
|
$identifications = [];
|
|
|
foreach ($identification as $val){
|
|
|
- array_push($identifications,"https://www.jucai.gov.cn" . $val['response']['path']);
|
|
|
+ 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));
|
|
|
}
|
|
@@ -2280,7 +2282,9 @@ class RecruitController extends Controller
|
|
|
$education_certification = json_decode($v->education_certification, true);
|
|
|
$education_certifications = [];
|
|
|
foreach ($education_certification as $val){
|
|
|
- array_push($education_certifications,"https://www.jucai.gov.cn" . $val['response']['path']);
|
|
|
+ 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));
|
|
|
}
|
|
@@ -2289,7 +2293,9 @@ class RecruitController extends Controller
|
|
|
$other_certifications = [];
|
|
|
if($other_certification){
|
|
|
foreach ($other_certification as $val){
|
|
|
- array_push($other_certifications,"https://www.jucai.gov.cn" . $val['response']['path']);
|
|
|
+ if(array_key_exists('path', $val['response'])){
|
|
|
+ array_push($other_certifications,"https://www.jucai.gov.cn" . $val['response']['path']);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|