From 704811e1d95df602bd3e1b4a3f2b44a67d943d33 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 19 May 2022 11:17:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8B=E8=BD=BD=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rest/wechat/download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest/wechat/download.js b/src/rest/wechat/download.js index 54cd10e..dfd3684 100644 --- a/src/rest/wechat/download.js +++ b/src/rest/wechat/download.js @@ -7,7 +7,7 @@ module.exports = { execute: (request, response) => { let appid = request.query?.appid if (appid) { - let path = `../wxmpZips/${appid}/`, zipPath = `./wxmpZips/${appid}.zip` + let path = `../wxmpZips/${appid}/`, zipPath = `../wxmpZips/${appid}.zip` fse.removeSync(zipPath) fse.pathExists(path, (err, exists) => { console.log(`${path}=========>${exists}`)