|
...
|
...
|
@@ -17,8 +17,14 @@ class HrController extends BaseController |
|
|
|
*/
|
|
|
|
public function list(HrLogic $logic)
|
|
|
|
{
|
|
|
|
$list = $logic->getHrList($this->map,$this->page,$this->row,$this->order);
|
|
|
|
return $this->response('success', Code::SUCCESS, $list);
|
|
|
|
$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($v['photo_gallery']);
|
|
|
|
$lists['list'][$k] = $v;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return $this->response('success', Code::SUCCESS, $lists);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function info(Request $request, HrLogic $logic){
|
...
|
...
|
|