作者 lyh

gx

... ... @@ -8,9 +8,16 @@ use App\Http\Logic\Aside\Manage\HrLogic;
class HrController extends BaseController
{
/**
* @remark :获取列表
* @name :list
* @author :lyh
* @method :post
* @time :2023/7/24 11:56
*/
public function list(HrLogic $logic)
{
$list = $logic->getList($this->map,$this->page,$this->row,$this->order);
$list = $logic->getHrList($this->map,$this->page,$this->row,$this->order);
return $this->response('success', Code::SUCCESS, $list);
}
... ...
... ... @@ -31,7 +31,7 @@ class HrLogic extends BaseLogic
* @method :post
* @time :2023/7/24 11:50
*/
public function getList($map,$page,$row,$order = 'id',$filed = ['*']){
public function getHrList($map,$page,$row,$order = 'id',$filed = ['*']){
$lists = $this->model->lists($map,$page,$row,$order,$filed);
return $this->success($lists);
}
... ...