Authored by yyq

fix

... ... @@ -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', '多')));
... ...