作者 lyh

gx

@@ -8,9 +8,16 @@ use App\Http\Logic\Aside\Manage\HrLogic; @@ -8,9 +8,16 @@ use App\Http\Logic\Aside\Manage\HrLogic;
8 8
9 class HrController extends BaseController 9 class HrController extends BaseController
10 { 10 {
  11 + /**
  12 + * @remark :获取列表
  13 + * @name :list
  14 + * @author :lyh
  15 + * @method :post
  16 + * @time :2023/7/24 11:56
  17 + */
11 public function list(HrLogic $logic) 18 public function list(HrLogic $logic)
12 { 19 {
13 - $list = $logic->getList($this->map,$this->page,$this->row,$this->order); 20 + $list = $logic->getHrList($this->map,$this->page,$this->row,$this->order);
14 return $this->response('success', Code::SUCCESS, $list); 21 return $this->response('success', Code::SUCCESS, $list);
15 } 22 }
16 23
@@ -31,7 +31,7 @@ class HrLogic extends BaseLogic @@ -31,7 +31,7 @@ class HrLogic extends BaseLogic
31 * @method :post 31 * @method :post
32 * @time :2023/7/24 11:50 32 * @time :2023/7/24 11:50
33 */ 33 */
34 - public function getList($map,$page,$row,$order = 'id',$filed = ['*']){ 34 + public function getHrList($map,$page,$row,$order = 'id',$filed = ['*']){
35 $lists = $this->model->lists($map,$page,$row,$order,$filed); 35 $lists = $this->model->lists($map,$page,$row,$order,$filed);
36 return $this->success($lists); 36 return $this->success($lists);
37 } 37 }