Authored by yyq

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

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