作者 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,7 +20,7 @@ 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){
// $v['photo_gallery_link'] = $this->getImageUrl($v['photo_gallery']);
$v['photo_gallery_link'] = $this->getImageUrl($v['photo_gallery']);
// $v['id_card_gallery_link'] = $this->getImageUrl($v['id_card_gallery']);
// $v['certificate_gallery_link'] = $this->getImageUrl($v['certificate_gallery']);
$lists['list'][$k] = $v;
... ...