|
@@ -25,7 +25,7 @@ class ATemplateController extends BaseController |
|
@@ -25,7 +25,7 @@ class ATemplateController extends BaseController |
|
25
|
*/
|
25
|
*/
|
|
26
|
public function lists(ATemplateLogic $aTemplateLogic){
|
26
|
public function lists(ATemplateLogic $aTemplateLogic){
|
|
27
|
$templateLabel = new TemplateLabel();
|
27
|
$templateLabel = new TemplateLabel();
|
|
28
|
- $this->searchLabelName($templateLabel);
|
28
|
+ $this->map = $this->searchLabelName($templateLabel);
|
|
29
|
$filed = ['id','name','image','url','status','sort','deleted_status','test_model','created_at','project_id'];
|
29
|
$filed = ['id','name','image','url','status','sort','deleted_status','test_model','created_at','project_id'];
|
|
30
|
$lists = $aTemplateLogic->aTemplateList($this->map,$this->page,$this->row,$this->order,$filed);
|
30
|
$lists = $aTemplateLogic->aTemplateList($this->map,$this->page,$this->row,$this->order,$filed);
|
|
31
|
if(!empty($lists) && !empty($lists['list'])){
|
31
|
if(!empty($lists) && !empty($lists['list'])){
|
|
@@ -51,7 +51,7 @@ class ATemplateController extends BaseController |
|
@@ -51,7 +51,7 @@ class ATemplateController extends BaseController |
|
51
|
$this->map['id'] = ['in',$id_arr];
|
51
|
$this->map['id'] = ['in',$id_arr];
|
|
52
|
unset($this->map['label_name']);
|
52
|
unset($this->map['label_name']);
|
|
53
|
}
|
53
|
}
|
|
54
|
- return true;
|
54
|
+ return $this->map;
|
|
55
|
}
|
55
|
}
|
|
56
|
|
56
|
|
|
57
|
/**
|
57
|
/**
|