diff --git a/src/rest/custom/download.js b/src/rest/custom/download.js index da94e44..5cc0bc3 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 ~/../zips/`)) .then(() => { console.log('压缩完成!') setTimeout(() => {