multer-w
v1.0.3
Published
``` npm install multer-w ``` # 使用方法 ``` var mw=require("multer-w") router.post('/reg4',mw('./public/uploads', { name: 'fl', maxCount: 2 } ,{ name: 'xiang', maxCount: 2 }) ) router.post('/r
Downloads
2
Readme
使用方法 multer +++
npm install multer-w
使用方法
var mw=require("multer-w")
router.post('/reg4',mw('./public/uploads',
{ name: 'fl', maxCount: 2 }
,{ name: 'xiang', maxCount: 2 })
)
router.post('/reg4',function(req,res){
console.log( req.fileObj )
console.log(req.body)
res.send('')
})