del 删除注释
This commit is contained in:
parent
55d45c0b1e
commit
85825c67a1
@ -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
|
||||
}
|
||||
|
||||
// })
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user