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}`)