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