赞
踩
let base64 = request.base64.replace(/^data:image\/\w+;base64,/, '') var dataBuffer = new Buffer(base64, 'base64') //把base64码转成buffer对象,