...
|
...
|
@@ -458,9 +458,13 @@ exports.getSearchKeywordDataById = (id, params, channel) => { |
|
|
|
|
|
if (!_.isEmpty(redisData.data)) {
|
|
|
_.forEach(redisData.data, value => {
|
|
|
Object.assign({
|
|
|
if (!value) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
Object.assign(value, {
|
|
|
name: value.keyword,
|
|
|
href: helpers.urlFormat(`/canpin/${value.root_id}.html`, null, 'www')
|
|
|
href: helpers.urlFormat(`/canpin/${value.id}.html`, null, 'www')
|
|
|
});
|
|
|
});
|
|
|
|
...
|
...
|
|