Authored by 毕凯

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

'global-seo'



See merge request !810
@@ -586,11 +586,11 @@ const getSearchKeywordData = (params, uid) => { @@ -586,11 +586,11 @@ const getSearchKeywordData = (params, uid) => {
586 586
587 const getSearchKeywordDataById = (id, params, uid) => { 587 const getSearchKeywordDataById = (id, params, uid) => {
588 return redis.all([ 588 return redis.all([
589 - ['get', `golobal:yoho:seo:keywords:id:${id}`] 589 + ['get', `global:yoho:seo:keywords:id:${id}`]
590 ]).then(redisData => { 590 ]).then(redisData => {
591 if (!redisData[0]) { 591 if (!redisData[0]) {
592 return Promise.reject('get redis canpin keywords by id error!' + 592 return Promise.reject('get redis canpin keywords by id error!' +
593 - `key: golobal:yoho:seo:keywords:id:${id} value: ${redisData[0]}`); 593 + `key: global:yoho:seo:keywords:id:${id} value: ${redisData[0]}`);
594 } 594 }
595 595
596 redisData = JSON.parse(redisData[0]); 596 redisData = JSON.parse(redisData[0]);