|
@@ -1061,7 +1061,7 @@ class RecruitController extends Controller
|
|
|
];
|
|
|
$info->identification = json_decode($info->identification);
|
|
|
$photo_data = [];
|
|
|
- if(is_array($info->identification)){
|
|
|
+ if(is_array($info->identification) && count($info->identification) > 0){
|
|
|
foreach ($info->identification as $k => $v) {
|
|
|
if($v->status){
|
|
|
$photo_data[] = [
|
|
@@ -1080,7 +1080,7 @@ class RecruitController extends Controller
|
|
|
];
|
|
|
$info->household_register = json_decode($info->household_register);
|
|
|
$photo_data = [];
|
|
|
- if(is_array($info->household_register)){
|
|
|
+ if(is_array($info->household_register) && count($info->household_register) > 0){
|
|
|
foreach ($info->household_register as $k => $v) {
|
|
|
if($v->status){
|
|
|
$photo_data[] = [
|
|
@@ -1099,7 +1099,7 @@ class RecruitController extends Controller
|
|
|
];
|
|
|
$info->education_certification = json_decode($info->education_certification);
|
|
|
$photo_data = [];
|
|
|
- if(is_array($info->education_certification)){
|
|
|
+ if(is_array($info->education_certification) && count($info->education_certification) > 0){
|
|
|
foreach ($info->education_certification as $k => $v) {
|
|
|
if($v->status){
|
|
|
$photo_data[] = [
|
|
@@ -1135,7 +1135,7 @@ class RecruitController extends Controller
|
|
|
// ];
|
|
|
$info->chengxin = json_decode($info->chengxin);
|
|
|
$photo_data = [];
|
|
|
- if(is_array($info->chengxin)){
|
|
|
+ if(is_array($info->chengxin) && count($info->chengxin) > 0){
|
|
|
foreach ($info->chengxin as $k => $v) {
|
|
|
if($v->status){
|
|
|
$photo_data[] = [
|
|
@@ -1156,7 +1156,7 @@ class RecruitController extends Controller
|
|
|
|
|
|
$info->manage = json_decode($info->manage);
|
|
|
$photo_data = [];
|
|
|
- if(is_array($info->manage)){
|
|
|
+ if(is_array($info->manage) && count($info->manage) > 0){
|
|
|
foreach ($info->manage as $k => $v) {
|
|
|
if($v->status){
|
|
|
$photo_data[] = [
|