del 删除注释

This commit is contained in:
theluyuan 2023-07-04 22:39:57 +08:00
parent 55d45c0b1e
commit 85825c67a1

View File

@ -20,7 +20,6 @@ function seep(time) {
async function uploadImg(filePath) { async function uploadImg(filePath) {
let data = createReadStream(filePath) let data = createReadStream(filePath)
console.log(data) console.log(data)
// readFile(filePath, function (err, data) {
try { try {
let res = await post('https://image.zmpt.cc/upload/localhost', { let res = await post('https://image.zmpt.cc/upload/localhost', {
file:data file:data
@ -36,9 +35,6 @@ async function uploadImg(filePath) {
console.error(err) console.error(err)
return err return err
} }
// })
} }