|
@@ -29,12 +29,9 @@ class VisitLogic extends BaseLogic |
|
@@ -29,12 +29,9 @@ class VisitLogic extends BaseLogic |
|
29
|
return $this->success($lists);
|
29
|
return $this->success($lists);
|
|
30
|
}
|
30
|
}
|
|
31
|
|
31
|
|
|
32
|
- public function getItemList(array $map = [], array $sort = ['id' => 'desc'], array $columns = ['*'], int $limit = 20){
|
32
|
+ public function getItemList(array $map = [], $page,$row,$order = 'id',$filed = ['*']){
|
|
33
|
$this->model = new VisitItem();
|
33
|
$this->model = new VisitItem();
|
|
34
|
- $map['domain'] = $this->user['domain'];
|
|
|
|
35
|
- var_dump($map);
|
|
|
|
36
|
- die();
|
|
|
|
37
|
- return Logic::getList($map, $sort, ['url', 'created_at'], 0);
|
34
|
+ return $this->model->lists($map,$page,$row,$order,$filed);
|
|
38
|
}
|
35
|
}
|
|
39
|
|
36
|
|
|
40
|
} |
37
|
} |