...
|
...
|
@@ -158,8 +158,12 @@ function getListData(params, channel) { |
|
|
|
|
|
return redis.all([
|
|
|
['hmget', `category:description:${md5(sortName)}`, 'description']
|
|
|
]).then(descr => {
|
|
|
_.set(finalResult, 'list.pageIntro', `<em class="stage">${sortName}</em>${_.get(descr, '[0][0]')}`);
|
|
|
]).then(desc => {
|
|
|
desc = _.get(desc, '[0][0]');
|
|
|
|
|
|
if (desc) {
|
|
|
_.set(finalResult, 'list.pageIntro', {title: sortName, intro: desc});
|
|
|
}
|
|
|
|
|
|
return Object.assign({}, seo, finalResult);
|
|
|
});
|
...
|
...
|
|