app.js: var FileUpload = require('express-fileupload') app.use(FileUpload()); service.js: npm install -S xlsx var XLSX= require('xlsx'); let excelData = []; let paramsArr = []; let nowTime = parseInt(moment().format('X')); let username = res.locals
var http = require('http'); var fs = require('fs'); var url = require('url'); http.createServer(function (request,response){ var pathname=url.parse(request.url).pathname; fs.readFile(pathname.substr(1),function(err,data){ if (err) { response.writeHea