|
@@ -409,7 +409,10 @@ class IndexController extends WebBaseController
|
|
|
$material = json_decode($special['material'],true);
|
|
|
foreach ($material as $k => $v){
|
|
|
if(array_key_exists('response',$v)){
|
|
|
- $material[$k]['url'] = $v['response']['path'];
|
|
|
+ if(array_key_exists('path',$v['response'])){
|
|
|
+ $material[$k]['url'] = $v['response']['path'];
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
}else{
|
|
@@ -439,7 +442,9 @@ class IndexController extends WebBaseController
|
|
|
$identification = json_decode($user_info['identification'],true);
|
|
|
foreach ($identification as $k => $v){
|
|
|
if(array_key_exists('response',$v)){
|
|
|
- $identification[$k]['url'] = $v['response']['path'];
|
|
|
+ if(array_key_exists('path',$v['response'])){
|
|
|
+ $identification[$k]['url'] = $v['response']['path'];
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -454,7 +459,9 @@ class IndexController extends WebBaseController
|
|
|
$education_certification = json_decode($user_info['education_certification'],true);
|
|
|
foreach ($education_certification as $k => $v){
|
|
|
if(array_key_exists('response',$v)){
|
|
|
- $education_certification[$k]['url'] = $v['response']['path'];
|
|
|
+ if(array_key_exists('path',$v['response'])){
|
|
|
+ $education_certification[$k]['url'] = $v['response']['path'];
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -469,7 +476,9 @@ class IndexController extends WebBaseController
|
|
|
$other_certification = json_decode($user_info['other_certification'],true);
|
|
|
foreach ($other_certification as $k => $v){
|
|
|
if(array_key_exists('response',$v)){
|
|
|
- $other_certification[$k]['url'] = $v['response']['path'];
|
|
|
+ if(array_key_exists('path',$v['response'])){
|
|
|
+ $other_certification[$k]['url'] = $v['response']['path'];
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|