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