作者 lyh

gx

... ... @@ -148,6 +148,8 @@ class BaseController extends Controller
public function getImageUrl($hash){
if(is_array($hash)){
foreach ($hash as $k => $v){
var_dump($v);
die();
$url[] = $this->getImageUrl($v);
}
}else{
... ...
... ... @@ -20,8 +20,6 @@ class HrController extends BaseController
$lists = $logic->getHrList($this->map,$this->page,$this->row,$this->order);
if(!empty($lists['list'])){
foreach ($lists['list'] as $k => $v){
var_dump(json_decode($v['photo_gallery']));
die();
$v['photo_gallery_link'] = $this->getImageUrl(json_decode($v['photo_gallery']));
$v['id_card_gallery_link'] = $this->getImageUrl(json_decode($v['id_card_gallery']));
$v['certificate_gallery_link'] = $this->getImageUrl(json_decode($v['certificate_gallery']));
... ...