摘要:
接收普通参数 var formidable = require("formidable"); //处理 发布的 商品 exports.doPublishGoods=function(req,res){ var form=new formidable.IncomingForm(); form.pars 阅读全文
摘要:
cors实现跨域 并且实现cookie携带 1. cors不用中间件的话可以这样写 app.all('*', function (req, res, next) { res.header("Access-Control-Allow-Origin", "http://www.xxx.com"); // 阅读全文