作者 lyh

gx

@@ -146,6 +146,8 @@ class BaseController extends Controller @@ -146,6 +146,8 @@ class BaseController extends Controller
146 * @time :2023/7/20 16:46 146 * @time :2023/7/20 16:46
147 */ 147 */
148 public function getImageUrl($hash){ 148 public function getImageUrl($hash){
  149 + var_dump($hash);
  150 + die();
149 if(is_array($hash)){ 151 if(is_array($hash)){
150 foreach ($hash as $k => $v){ 152 foreach ($hash as $k => $v){
151 $url[] = $this->getImageUrl($v); 153 $url[] = $this->getImageUrl($v);
@@ -21,8 +21,8 @@ class HrController extends BaseController @@ -21,8 +21,8 @@ class HrController extends BaseController
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']);  
25 - $v['certificate_gallery_link'] = $this->getImageUrl($v['certificate_gallery']); 24 +// $v['id_card_gallery_link'] = $this->getImageUrl($v['id_card_gallery']);
  25 +// $v['certificate_gallery_link'] = $this->getImageUrl($v['certificate_gallery']);
26 $lists['list'][$k] = $v; 26 $lists['list'][$k] = $v;
27 } 27 }
28 } 28 }