正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -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 |
-
请 注册 或 登录 后发表评论