|
...
|
...
|
@@ -22,10 +22,11 @@ class VisitLogic extends BaseLogic |
|
|
|
$this->model = new Visit();
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getList(array $map = [], array $sort = ['id' => 'desc'], array $columns = ['*'], int $limit = 20)
|
|
|
|
public function getVisitList($map,$page,$row,$order,$filed = ['*'])
|
|
|
|
{
|
|
|
|
$map['domain'] = $this->user['domain'];
|
|
|
|
return Logic::getList($map, $sort, ['id', 'url', 'referrer_url', 'device_port', 'country', 'ip', 'depth', 'created_at'], $limit);
|
|
|
|
$lists = $this->model->lists($map,$page,$row,$order,$filed);
|
|
|
|
return $this->success($lists);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getItemList(array $map = [], array $sort = ['id' => 'desc'], array $columns = ['*'], int $limit = 20){
|
...
|
...
|
|