错误:Router.use() requires callback functions but got a [object Object]
代码:app.use(multer({ dest:’./tmp’, rename:function(fieldname,filename){ return filename; } }));
代码:app.use(multer({ dest:’./tmp’, rename:function(fieldname,filename){ return filename; } }));