From 85825c67a1d8c720301d4a06a76f1fd9909a7bfb Mon Sep 17 00:00:00 2001 From: theluyuan <1162963624@qq.com> Date: Tue, 4 Jul 2023 22:39:57 +0800 Subject: [PATCH] =?UTF-8?q?del=20=E5=88=A0=E9=99=A4=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util/utils.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/util/utils.js b/util/utils.js index 90fa1ec..0661900 100644 --- a/util/utils.js +++ b/util/utils.js @@ -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 } - - // }) - }