|
@@ -29,9 +29,13 @@ class VisitLogic extends BaseLogic |
|
@@ -29,9 +29,13 @@ class VisitLogic extends BaseLogic |
|
29
|
return $this->success($lists);
|
29
|
return $this->success($lists);
|
|
30
|
}
|
30
|
}
|
|
31
|
|
31
|
|
|
32
|
- public function getItemList(array $map = [], $page,$row,$order = 'id',$filed = ['*']){
|
32
|
+ public function getItemList($order = 'id',$filed = ['*']){
|
|
33
|
$this->model = new VisitItem();
|
33
|
$this->model = new VisitItem();
|
|
34
|
- return $this->model->lists($map,$page,$row,$order,$filed);
|
34
|
+ $map = [
|
|
|
|
35
|
+ 'customer_visit_id' => $this->param['id'],
|
|
|
|
36
|
+ 'domain' => $this->user['domain'],
|
|
|
|
37
|
+ ];
|
|
|
|
38
|
+ return $this->model->lists($map,$order,$filed);
|
|
35
|
}
|
39
|
}
|
|
36
|
|
40
|
|
|
37
|
} |
41
|
} |