...
|
...
|
@@ -49,7 +49,7 @@ const getUrls = () => { |
|
|
return api.all(apiArr).spread((productData, articleData) => {
|
|
|
|
|
|
_.forEach(_.get(productData, 'data', {}), value => {
|
|
|
siteUrls.pcProduct.url.push('https:' + helper.urlFormat(`/p${value.erpProductId}.html`, null, 'item'));
|
|
|
siteUrls.pcProduct.url.push('https:' + helper.urlFormat(`/${value.id}.html`, null, 'item'));
|
|
|
siteUrls.mProduct.url.push('https:' + helper.urlFormat(`/product/${value.id}.html`, null, 'm'));
|
|
|
});
|
|
|
|
...
|
...
|
|