Authored by 郝肖肖

'news-code'

... ... @@ -85,11 +85,14 @@ module.exports = class extends global.yoho.BaseModel {
syncTypeName: contents.syncTypeName || 'YOHO潮流志',
publishTime: contents.update_time && moment(contents.update_time * 1000).format('MM月DD HH:mm'),
};
let content = newsUtils.filterPhtml(contents.content.replace(/www.yohobuy.com\/chanpin/ig, 'm.yohobuy.com/chanpin/'), [
'阅读原文',
'点击这里',
'点这里'
]);
let content = newsUtils.filterPhtml(
contents.content.replace(/www.yohobuy.com\/chanpin/ig, 'm.yohobuy.com/chanpin/'),
[
'阅读原文',
'点击这里',
'点这里'
]
);
content = newsUtils.filterAhtml(content);
... ...