Showing
1 changed file
with
1 additions
and
1 deletions
@@ -40,7 +40,7 @@ const itemXmlData = () => {// eslint-disable-line | @@ -40,7 +40,7 @@ const itemXmlData = () => {// eslint-disable-line | ||
40 | return api.get('', {method: 'web.product.bdPromotion'}, {cache: 86400}).then(res => { | 40 | return api.get('', {method: 'web.product.bdPromotion'}, {cache: 86400}).then(res => { |
41 | _.forEach(_.get(res, 'data', ''), val => { | 41 | _.forEach(_.get(res, 'data', ''), val => { |
42 | urls.push({ | 42 | urls.push({ |
43 | - url: 'https:' + helpers.urlFormat(`/product/${val.id}.html`, '', null), | 43 | + url: 'https:' + helpers.urlFormat(`/product/${val.erpProductId}.html`, '', null), |
44 | changefreq: 'daily', | 44 | changefreq: 'daily', |
45 | priority: 0.3 | 45 | priority: 0.3 |
46 | }); | 46 | }); |
-
Please register or login to post a comment