...
|
...
|
@@ -40,7 +40,7 @@ const siteUrls = { |
|
|
url: []
|
|
|
},
|
|
|
pcGuang: {
|
|
|
site: 'https://guang.yohobuy.com',
|
|
|
site: 'https://www.yohobuy.com/',
|
|
|
url: []
|
|
|
},
|
|
|
mProduct: {
|
...
|
...
|
@@ -48,7 +48,7 @@ const siteUrls = { |
|
|
url: []
|
|
|
},
|
|
|
mGuang: {
|
|
|
site: 'https://guang.m.yohobuy.com',
|
|
|
site: 'https://m.yohobuy.com/',
|
|
|
url: []
|
|
|
}
|
|
|
|
...
|
...
|
@@ -114,9 +114,8 @@ const getUrls = () => { |
|
|
});
|
|
|
|
|
|
_.forEach(_.get(articleData, 'data.artList', {}), value => {
|
|
|
siteUrls.pcGuang.url.push('https:' + helper.urlFormat(`/${value.articleId}.html`, null, 'guang'));
|
|
|
siteUrls.mGuang.url.push('https:' + helper.urlFormat(`/guang/info/${value.articleId}.html`
|
|
|
, null, 'guang.m'));
|
|
|
siteUrls.pcGuang.url.push('https:' + helper.urlFormat(`/guang/${value.articleId}.html`));
|
|
|
siteUrls.mGuang.url.push('https:' + helper.urlFormat(`/guang/${value.articleId}.html`, null, 'm'));
|
|
|
});
|
|
|
|
|
|
return siteUrls;
|
...
|
...
|
|