关键字

This commit is contained in:
gongfuxiang
2018-10-21 00:38:36 +08:00
parent e2a4891d64
commit 4e5fa3660c
4 changed files with 31 additions and 15 deletions

View File

@ -58,6 +58,9 @@ class SearchController extends CommonController
{
$this->redirect('Home/Search/Index', ['keywords'=>$this->params['keywords']]);
} else {
// 搜索记录
SearchService::SearchAdd($this->params);
// 品牌列表
$this->assign('brand_list', BrandService::CategoryBrandList(['category_id'=>$this->params['category_id']]));