Authored by htoooth

fix

... ... @@ -214,9 +214,7 @@ function getKeywordsInfo(keywords) {
// skn 用来key
function _getRecommendKeywords(smallSort, skn) { // eslint-disable-line
return redis.all([['get', `global:yoho:seo:keywords:sortId:${smallSort}:page:1`]]).then(res => {
return res[0];
}).then(result => {
return getKeywordsInfo(JSON.parse(result || '[]'));
return getKeywordsInfo(JSON.parse(res[0] || '[]'));
});
}
... ...