修复下载接口
This commit is contained in:
@@ -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}`)
|
||||
|
||||
Reference in New Issue
Block a user