Showing
1 changed file
with
4 additions
and
5 deletions
@@ -40,7 +40,7 @@ const siteUrls = { | @@ -40,7 +40,7 @@ const siteUrls = { | ||
40 | url: [] | 40 | url: [] |
41 | }, | 41 | }, |
42 | pcGuang: { | 42 | pcGuang: { |
43 | - site: 'https://guang.yohobuy.com', | 43 | + site: 'https://www.yohobuy.com/', |
44 | url: [] | 44 | url: [] |
45 | }, | 45 | }, |
46 | mProduct: { | 46 | mProduct: { |
@@ -48,7 +48,7 @@ const siteUrls = { | @@ -48,7 +48,7 @@ const siteUrls = { | ||
48 | url: [] | 48 | url: [] |
49 | }, | 49 | }, |
50 | mGuang: { | 50 | mGuang: { |
51 | - site: 'https://guang.m.yohobuy.com', | 51 | + site: 'https://m.yohobuy.com/', |
52 | url: [] | 52 | url: [] |
53 | } | 53 | } |
54 | 54 | ||
@@ -114,9 +114,8 @@ const getUrls = () => { | @@ -114,9 +114,8 @@ const getUrls = () => { | ||
114 | }); | 114 | }); |
115 | 115 | ||
116 | _.forEach(_.get(articleData, 'data.artList', {}), value => { | 116 | _.forEach(_.get(articleData, 'data.artList', {}), value => { |
117 | - siteUrls.pcGuang.url.push('https:' + helper.urlFormat(`/${value.articleId}.html`, null, 'guang')); | ||
118 | - siteUrls.mGuang.url.push('https:' + helper.urlFormat(`/guang/info/${value.articleId}.html` | ||
119 | - , null, 'guang.m')); | 117 | + siteUrls.pcGuang.url.push('https:' + helper.urlFormat(`/guang/${value.articleId}.html`)); |
118 | + siteUrls.mGuang.url.push('https:' + helper.urlFormat(`/guang/${value.articleId}.html`, null, 'm')); | ||
120 | }); | 119 | }); |
121 | 120 | ||
122 | return siteUrls; | 121 | return siteUrls; |
-
Please register or login to post a comment