|
...
|
...
|
@@ -21,8 +21,8 @@ class HrController extends BaseController |
|
|
|
if(!empty($lists['list'])){
|
|
|
|
foreach ($lists['list'] as $k => $v){
|
|
|
|
$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']);
|
|
|
|
$v['id_card_gallery_link'] = $this->getImageUrl($v['id_card_gallery']);
|
|
|
|
$v['certificate_gallery_link'] = $this->getImageUrl($v['certificate_gallery']);
|
|
|
|
$lists['list'][$k] = $v;
|
|
|
|
}
|
|
|
|
}
|
|
...
|
...
|
@@ -35,7 +35,12 @@ class HrController extends BaseController |
|
|
|
],[
|
|
|
|
'id.required' => 'ID不能为空'
|
|
|
|
]);
|
|
|
|
$data = $logic->getInfo($this->param['id']);
|
|
|
|
$data = $logic->getHrInfo($this->param['id']);
|
|
|
|
foreach ($data as $k => $v){
|
|
|
|
// $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']);
|
|
|
|
}
|
|
|
|
return $this->success($data);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|