...
|
...
|
@@ -40,7 +40,7 @@ const itemXmlData = () => {// eslint-disable-line |
|
|
return api.get('', {method: 'web.product.bdPromotion'}, {cache: 86400}).then(res => {
|
|
|
_.forEach(_.get(res, 'data', ''), val => {
|
|
|
urls.push({
|
|
|
url: 'https:' + helpers.urlFormat(`/product/${val.id}.html`, '', null),
|
|
|
url: 'https:' + helpers.urlFormat(`/product/${val.erpProductId}.html`, '', null),
|
|
|
changefreq: 'daily',
|
|
|
priority: 0.3
|
|
|
});
|
...
|
...
|
|