|
...
|
...
|
@@ -20,9 +20,9 @@ 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(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']));
|
|
|
|
$v['photo_gallery_link'] = getImageUrl(json_decode($v['photo_gallery']));
|
|
|
|
$v['id_card_gallery_link'] = getImageUrl(json_decode($v['id_card_gallery']));
|
|
|
|
$v['certificate_gallery_link'] = getImageUrl(json_decode($v['certificate_gallery']));
|
|
|
|
$lists['list'][$k] = $v;
|
|
|
|
}
|
|
|
|
}
|
|
...
|
...
|
@@ -36,9 +36,9 @@ class HrController extends BaseController |
|
|
|
'id.required' => 'ID不能为空'
|
|
|
|
]);
|
|
|
|
$info = $logic->getHrInfo($this->param['id']);
|
|
|
|
$info['photo_gallery_link'] = $this->getImageUrl($info['photo_gallery']);
|
|
|
|
$info['id_card_gallery_link'] = $this->getImageUrl($info['id_card_gallery']);
|
|
|
|
$info['certificate_gallery_link'] = $this->getImageUrl($info['certificate_gallery']);
|
|
|
|
$info['photo_gallery_link'] = getImageUrl($info['photo_gallery']);
|
|
|
|
$info['id_card_gallery_link'] = getImageUrl($info['id_card_gallery']);
|
|
|
|
$info['certificate_gallery_link'] = getImageUrl($info['certificate_gallery']);
|
|
|
|
return $this->success($info);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|