Merge branch 'master' of http://git.yoho.cn/fe/YOHOBUYWAP
Showing
1 changed file
with
7 additions
and
7 deletions
@@ -105,13 +105,13 @@ class SearchController extends AbstractAction | @@ -105,13 +105,13 @@ class SearchController extends AbstractAction | ||
105 | break; | 105 | break; |
106 | } | 106 | } |
107 | 107 | ||
108 | - /* 模糊查品牌域名 */ | ||
109 | - foreach ($brandNames as $key => $domains) { | ||
110 | - if (strpos($key, $query) !== false) { | ||
111 | - $domain = $key; | ||
112 | - break; | ||
113 | - } | ||
114 | - } | 108 | + /* 模糊查品牌域名 tar notice 使用模糊搜索会出现直接跳转店铺,搜不到大量商品*/ |
109 | + // foreach ($brandNames as $key => $domains) { | ||
110 | + // if (strpos($key, $query) !== false) { | ||
111 | + // $domain = $key; | ||
112 | + // break; | ||
113 | + // } | ||
114 | + // } | ||
115 | } while (false); | 115 | } while (false); |
116 | 116 | ||
117 | // 清空变量做释放 | 117 | // 清空变量做释放 |
-
Please register or login to post a comment