Showing
1 changed file
with
5 additions
and
2 deletions
@@ -85,11 +85,14 @@ module.exports = class extends global.yoho.BaseModel { | @@ -85,11 +85,14 @@ module.exports = class extends global.yoho.BaseModel { | ||
85 | syncTypeName: contents.syncTypeName || 'YOHO潮流志', | 85 | syncTypeName: contents.syncTypeName || 'YOHO潮流志', |
86 | publishTime: contents.update_time && moment(contents.update_time * 1000).format('MM月DD HH:mm'), | 86 | publishTime: contents.update_time && moment(contents.update_time * 1000).format('MM月DD HH:mm'), |
87 | }; | 87 | }; |
88 | - let content = newsUtils.filterPhtml(contents.content.replace(/www.yohobuy.com\/chanpin/ig, 'm.yohobuy.com/chanpin/'), [ | 88 | + let content = newsUtils.filterPhtml( |
89 | + contents.content.replace(/www.yohobuy.com\/chanpin/ig, 'm.yohobuy.com/chanpin/'), | ||
90 | + [ | ||
89 | '阅读原文', | 91 | '阅读原文', |
90 | '点击这里', | 92 | '点击这里', |
91 | '点这里' | 93 | '点这里' |
92 | - ]); | 94 | + ] |
95 | + ); | ||
93 | 96 | ||
94 | content = newsUtils.filterAhtml(content); | 97 | content = newsUtils.filterAhtml(content); |
95 | 98 |
-
Please register or login to post a comment