Authored by 毕凯

Merge branch 'hotfix/seo' into 'feature/expandNewTrend'

'global-seo'



See merge request !810
... ... @@ -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]);
... ...