...
|
...
|
@@ -3,7 +3,7 @@ const fs = require('fs'); |
|
|
const xsdFile = fs.readFileSync('./apps/controllers/seo/xm.xsd').toString();
|
|
|
|
|
|
|
|
|
for (let i = 1; i <= 32; i++) {
|
|
|
for (let i = 1; i <= 78; i++) {
|
|
|
const xml = `./public/dist/goods-xml/goods-${i}.xml`;
|
|
|
const xmlFile = fs.readFileSync(xml).toString();
|
|
|
const schema = xsd.parse(xsdFile);
|
...
|
...
|
|