multer-yin

1.0.0 • Public • Published

使用方法 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('')
})

Readme

Keywords

none

Package Sidebar

Install

npm i multer-yin

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.83 kB

Total Files

3

Last publish

Collaborators

  • look_at_me