mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-08 06:35:37 +08:00
商品搜索支持seo字段检索
This commit is contained in:
@ -75,7 +75,7 @@ class SearchService
|
||||
// 关键字
|
||||
if(!empty($params['keywords']))
|
||||
{
|
||||
$where[] = ['g.title', 'like', '%'.$params['keywords'].'%'];
|
||||
$where[] = ['g.title|g.seo_title|g.seo_keywords|g.seo_keywords', 'like', '%'.$params['keywords'].'%'];
|
||||
}
|
||||
|
||||
// 品牌
|
||||
|
||||
Reference in New Issue
Block a user