Authored by zhangxiaoru

Merge branch 'feature/expandNewTrend' of git.yoho.cn:fe/yohobuywap-node into feature/expandNewTrend

... ... @@ -586,11 +586,11 @@ const getSearchKeywordData = (params, uid) => {
const getSearchKeywordDataById = (id, params, uid) => {
return redis.all([
['get', `golobal:yoho:seo:keywords:id:${id}`]
['get', `global:yoho:seo:keywords:id:${id}`]
]).then(redisData => {
if (!redisData[0]) {
return Promise.reject('get redis canpin keywords by id error!' +
`key: golobal:yoho:seo:keywords:id:${id} value: ${redisData[0]}`);
`key: global:yoho:seo:keywords:id:${id} value: ${redisData[0]}`);
}
redisData = JSON.parse(redisData[0]);
... ...