| | |
| | | "@xtuc/long": "4.2.2" |
| | | } |
| | | }, |
| | | "@xmldom/xmldom": { |
| | | "version": "0.7.5", |
| | | "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.7.5.tgz", |
| | | "integrity": "sha512-V3BIhmY36fXZ1OtVcI9W+FxQqxVLsPKcNjWigIaa81dLC9IolJl5Mt4Cvhmr0flUnjSpTdrbMTSbXqYqV5dT6A==" |
| | | }, |
| | | "@xtuc/ieee754": { |
| | | "version": "1.2.0", |
| | | "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", |
| | |
| | | "async-limiter": "~1.0.0" |
| | | } |
| | | }, |
| | | "x2js": { |
| | | "version": "3.4.3", |
| | | "resolved": "https://registry.npmjs.org/x2js/-/x2js-3.4.3.tgz", |
| | | "integrity": "sha512-+65+WHCaQ9E0Gb2FDz/tYRSRBGGvFsSMiWDGn8KbgJOLkJhZBMCU1lxuRMLyTcx/54IopT0rDQWCUz2f7FTsyQ==", |
| | | "requires": { |
| | | "@xmldom/xmldom": "^0.7.4" |
| | | } |
| | | }, |
| | | "xcode": { |
| | | "version": "2.1.0", |
| | | "resolved": "https://registry.npmjs.org/xcode/-/xcode-2.1.0.tgz", |
| | |
| | | "webpack-dev-server": "3.2.1", |
| | | "webpack-manifest-plugin": "2.0.4", |
| | | "workbox-webpack-plugin": "4.3.1", |
| | | "x2js": "^3.4.3", |
| | | "xlsx": "^0.15.5" |
| | | }, |
| | | "scripts": { |
| | |
| | | _resolve() |
| | | }) |
| | | } |
| | | // xml调用方式 |
| | | // Api.directRequest('http://localhost:3001/test.xml', 'get', null, 'true').then(res => { |
| | | // let $x2js = new x2js() |
| | | // let jsonObj = $x2js.xml2js(res); |
| | | // console.info(jsonObj) |
| | | // }) |
| | | |
| | | /** |
| | | * @description 自定义请求循环执行 |