|
...
|
...
|
@@ -28,7 +28,7 @@ class HrController extends BaseController |
|
|
|
$lists['list'][$k] = $v;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return $this->response('success', Code::SUCCESS, $lists);
|
|
|
|
$this->response('success', Code::SUCCESS, $lists);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -55,7 +55,7 @@ class HrController extends BaseController |
|
|
|
*/
|
|
|
|
public function save(HrLogic $logic){
|
|
|
|
$logic->hrSave();
|
|
|
|
return $this->response('success');
|
|
|
|
$this->response('success');
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -89,7 +89,7 @@ class HrController extends BaseController |
|
|
|
'status' => $v->status,
|
|
|
|
];
|
|
|
|
}
|
|
|
|
return $this->response('success',Code::SUCCESS, $result);
|
|
|
|
$this->response('success',Code::SUCCESS, $result);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -106,6 +106,6 @@ class HrController extends BaseController |
|
|
|
'id.required' => 'ID不能为空'
|
|
|
|
]);
|
|
|
|
$hrLogic->setSort();
|
|
|
|
return $this->response('success');
|
|
|
|
$this->response('success');
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|