作者 lyh

gx

@@ -148,6 +148,8 @@ class BaseController extends Controller @@ -148,6 +148,8 @@ class BaseController extends Controller
148 public function getImageUrl($hash){ 148 public function getImageUrl($hash){
149 if(is_array($hash)){ 149 if(is_array($hash)){
150 foreach ($hash as $k => $v){ 150 foreach ($hash as $k => $v){
  151 + var_dump($v);
  152 + die();
151 $url[] = $this->getImageUrl($v); 153 $url[] = $this->getImageUrl($v);
152 } 154 }
153 }else{ 155 }else{
@@ -20,7 +20,7 @@ class HrController extends BaseController @@ -20,7 +20,7 @@ class HrController extends BaseController
20 $lists = $logic->getHrList($this->map,$this->page,$this->row,$this->order); 20 $lists = $logic->getHrList($this->map,$this->page,$this->row,$this->order);
21 if(!empty($lists['list'])){ 21 if(!empty($lists['list'])){
22 foreach ($lists['list'] as $k => $v){ 22 foreach ($lists['list'] as $k => $v){
23 -// $v['photo_gallery_link'] = $this->getImageUrl($v['photo_gallery']); 23 + $v['photo_gallery_link'] = $this->getImageUrl($v['photo_gallery']);
24 // $v['id_card_gallery_link'] = $this->getImageUrl($v['id_card_gallery']); 24 // $v['id_card_gallery_link'] = $this->getImageUrl($v['id_card_gallery']);
25 // $v['certificate_gallery_link'] = $this->getImageUrl($v['certificate_gallery']); 25 // $v['certificate_gallery_link'] = $this->getImageUrl($v['certificate_gallery']);
26 $lists['list'][$k] = $v; 26 $lists['list'][$k] = $v;