...
|
...
|
@@ -105,13 +105,13 @@ class SearchController extends AbstractAction |
|
|
break;
|
|
|
}
|
|
|
|
|
|
/* 模糊查品牌域名 */
|
|
|
foreach ($brandNames as $key => $domains) {
|
|
|
if (strpos($key, $query) !== false) {
|
|
|
$domain = $key;
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
/* 模糊查品牌域名 tar notice 使用模糊搜索会出现直接跳转店铺,搜不到大量商品*/
|
|
|
// foreach ($brandNames as $key => $domains) {
|
|
|
// if (strpos($key, $query) !== false) {
|
|
|
// $domain = $key;
|
|
|
// break;
|
|
|
// }
|
|
|
// }
|
|
|
} while (false);
|
|
|
|
|
|
// 清空变量做释放
|
...
|
...
|
|