var fs=require('fs');
var source =fs.readFileSync('../buffer/logo.png');
fs.writeFileSync('steam_copy_logo.png',source);
var fs=require('fs');
var source =fs.readFileSync('../buffer/logo.png');
fs.writeFileSync('steam_copy_logo.png',source);
本文标题:nodejs copy图片到本目录
本文链接:https://www.haomeiwen.com/subject/rtsyhxtx.html
网友评论