From 6e18858abf3834ab93bd979595bab393d41c7765 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 7 Jul 2022 18:03:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E5=88=B6=E9=A1=B9=E7=9B=AE=E6=89=93?= =?UTF-8?q?=E5=8C=85=E6=8E=A5=E5=8F=A3=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rest/custom/getZip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest/custom/getZip.js b/src/rest/custom/getZip.js index 4a575be..29f2be6 100644 --- a/src/rest/custom/getZip.js +++ b/src/rest/custom/getZip.js @@ -23,7 +23,7 @@ module.exports = { db.query(sql) ]).then(() => setTimeout(() => { response.send({code: 0}) - }, 5000)) + }, 1000)) execute(`cd ${path}&&npm run apps&&node bin/pages.js ${id}&&npm run build`) .then(() => fse.emptyDir(dist)) .then(() => execute(`/root/node-service/move.sh ${info.type} ${path} ${dist}`))