作者 lyh

gx

@@ -89,6 +89,8 @@ class CategoryController extends BaseController @@ -89,6 +89,8 @@ class CategoryController extends BaseController
89 public function get3283Lists($filed){ 89 public function get3283Lists($filed){
90 if(!isset($this->map['title'])){ 90 if(!isset($this->map['title'])){
91 $this->map['pid'] = $this->map['pid'] ?? 0; 91 $this->map['pid'] = $this->map['pid'] ?? 0;
  92 + }else{
  93 + $this->map['title'] = ['like','%'.$this->map['title'].'%'];
92 } 94 }
93 $list = $this->model->list($this->map,['sort','id'],$filed); 95 $list = $this->model->list($this->map,['sort','id'],$filed);
94 $template_id = $this->getTemplateId(BTemplate::SOURCE_PRODUCT,BTemplate::IS_LIST);//获取模版id 96 $template_id = $this->getTemplateId(BTemplate::SOURCE_PRODUCT,BTemplate::IS_LIST);//获取模版id