recommend none isChangedQuery page change
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -96,10 +96,10 @@ exports.getSearchData = (params, channel) => { | @@ -96,10 +96,10 @@ exports.getSearchData = (params, channel) => { | ||
96 | // 获取商品数据和顶部筛选条件 | 96 | // 获取商品数据和顶部筛选条件 |
97 | if (result[2].code === 200) { | 97 | if (result[2].code === 200) { |
98 | 98 | ||
99 | - //搜索推荐词,获取对应的参数值 | 99 | + // 搜索推荐词,获取对应的参数值 |
100 | let termsSuggestion = _.get(result[2], 'data.suggestion.terms_suggestion', []); | 100 | let termsSuggestion = _.get(result[2], 'data.suggestion.terms_suggestion', []); |
101 | 101 | ||
102 | - //推荐词 获取无商品,首次搜索,通过isChangedQuery做开关 | 102 | + // 推荐词 获取无商品,首次搜索,通过isChangedQuery做开关 |
103 | if (result[2].data.isChangedQuery === 'Y') { | 103 | if (result[2].data.isChangedQuery === 'Y') { |
104 | Object.assign(changeQuery, {query: termsSuggestion[0]}); | 104 | Object.assign(changeQuery, {query: termsSuggestion[0]}); |
105 | } | 105 | } |
-
Please register or login to post a comment