Authored by yyq

Merge branch 'feature/seoHot' into release/6.6wp

@@ -131,11 +131,10 @@ module.exports = class extends global.yoho.BaseModel { @@ -131,11 +131,10 @@ module.exports = class extends global.yoho.BaseModel {
131 return val; 131 return val;
132 }); 132 });
133 133
134 - hotKeys = _.chunk(hotKeys, 6);  
135 - keyword.list = hotKeys[0]; 134 + keyword.list = _.take(hotKeys, 6);
136 135
137 Object.assign(result, { 136 Object.assign(result, {
138 - hotKeys: hotKeys[1], 137 + hotKeys: _.drop(hotKeys, 6),
139 keyword: keyword, 138 keyword: keyword,
140 latestWalk: 5 139 latestWalk: 5
141 }, seoHandler.getHotKeywordsSeo(keyword.name, _.get(result, 'product.totalCount', '多'))); 140 }, seoHandler.getHotKeywordsSeo(keyword.name, _.get(result, 'product.totalCount', '多')));