Showing
1 changed file
with
1 additions
and
1 deletions
@@ -49,7 +49,7 @@ const getUrls = () => { | @@ -49,7 +49,7 @@ const getUrls = () => { | ||
49 | return api.all(apiArr).spread((productData, articleData) => { | 49 | return api.all(apiArr).spread((productData, articleData) => { |
50 | 50 | ||
51 | _.forEach(_.get(productData, 'data', {}), value => { | 51 | _.forEach(_.get(productData, 'data', {}), value => { |
52 | - siteUrls.pcProduct.url.push('https:' + helper.urlFormat(`/p${value.erpProductId}.html`, null, 'item')); | 52 | + siteUrls.pcProduct.url.push('https:' + helper.urlFormat(`/${value.id}.html`, null, 'item')); |
53 | siteUrls.mProduct.url.push('https:' + helper.urlFormat(`/product/${value.id}.html`, null, 'm')); | 53 | siteUrls.mProduct.url.push('https:' + helper.urlFormat(`/product/${value.id}.html`, null, 'm')); |
54 | }); | 54 | }); |
55 | 55 |
-
Please register or login to post a comment