|
@@ -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
|
}
|
|
@@ -35,7 +35,12 @@ class HrController extends BaseController |
|
@@ -35,7 +35,12 @@ class HrController extends BaseController |
|
35
|
],[
|
35
|
],[
|
|
36
|
'id.required' => 'ID不能为空'
|
36
|
'id.required' => 'ID不能为空'
|
|
37
|
]);
|
37
|
]);
|
|
38
|
- $data = $logic->getInfo($this->param['id']);
|
38
|
+ $data = $logic->getHrInfo($this->param['id']);
|
|
|
|
39
|
+ foreach ($data as $k => $v){
|
|
|
|
40
|
+ // $v['photo_gallery_link'] = $this->getImageUrl($v['photo_gallery']);
|
|
|
|
41
|
+// $v['id_card_gallery_link'] = $this->getImageUrl($v['id_card_gallery']);
|
|
|
|
42
|
+// $v['certificate_gallery_link'] = $this->getImageUrl($v['certificate_gallery']);
|
|
|
|
43
|
+ }
|
|
39
|
return $this->success($data);
|
44
|
return $this->success($data);
|
|
40
|
}
|
45
|
}
|
|
41
|
|
46
|
|