Authored by 郭成尧

logger-modified

@@ -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 }