Authored by 郭成尧

md5-err-handle

... ... @@ -359,6 +359,8 @@ const listNew = (req, res, next) => {
seoTitle = stringProcess.decodeURIComponent(paramsTitle);
}
logger.info('seoTitle:' + seoTitle);
try {
categoryIntroRedis =
yield redis.hmgetAsync(`category:description:${md5(seoTitle)}`, 'category', 'description').timeout(200);
... ...
... ... @@ -45,7 +45,7 @@ const decodeURIComponent = (param) => {
}
}
return result;
return result || '';
};
module.exports = {
... ...