Showing
1 changed file
with
1 additions
and
1 deletions
@@ -362,7 +362,7 @@ const listNew = (req, res, next) => { | @@ -362,7 +362,7 @@ const listNew = (req, res, next) => { | ||
362 | if (seoTitle) { | 362 | if (seoTitle) { |
363 | try { | 363 | try { |
364 | categoryIntroRedis = | 364 | categoryIntroRedis = |
365 | - yield redis.hmgetAsync(`category:description:${md5(undefined)}`, 'category', 'description').timeout(200); // eslint-disable-line | 365 | + yield redis.hmgetAsync(`category:description:${md5(seoTitle)}`, 'category', 'description').timeout(200); // eslint-disable-line |
366 | } catch (e) { | 366 | } catch (e) { |
367 | logger.warn(`redis.hmgetAsync error, key is category:description:md5(${seoTitle})`); | 367 | logger.warn(`redis.hmgetAsync error, key is category:description:md5(${seoTitle})`); |
368 | } | 368 | } |
-
Please register or login to post a comment