diff --git a/src/rest/custom/download.js b/src/rest/custom/download.js index 5cc0bc3..2a0b973 100644 --- a/src/rest/custom/download.js +++ b/src/rest/custom/download.js @@ -14,7 +14,7 @@ module.exports = { console.log(`${path}=========>${exists}`) if (exists) { execute(`cd ${path}&&zip -r ${info.id}.zip .`) - .then(() => execute(`cd ${path}&&mv ${info.id}.zip ~/../zips/`)) + .then(() => execute(`cd ${path}&&mv ${info.id}.zip /home/deploy/node_deploy/zips/`)) .then(() => { console.log('压缩完成!') setTimeout(() => {