From a57d6741ad233ca60b449527c5fea89940235ac2 Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 17 Jun 2022 11:06:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AE=A1=E7=AE=97=E6=89=93?= =?UTF-8?q?=E5=8C=85=E6=97=B6=E9=97=B4=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rest/autodeploy/getZip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest/autodeploy/getZip.js b/src/rest/autodeploy/getZip.js index c3051e9..89d9306 100644 --- a/src/rest/autodeploy/getZip.js +++ b/src/rest/autodeploy/getZip.js @@ -11,7 +11,7 @@ module.exports = { db.query(sql).then(res => { let info = res?.[0] if (info?.id) { - db.query(`update node_autodeploy set download=null,error=null where id='${info.id}'`).then(() => { + db.query(`update node_autodeploy set download=null,error=null,zipTime='${dayjs().format("YYYY-MM-DD HH:mm:ss")}' where id='${info.id}'`).then(() => { fse.emptydir(info.target, () => { response.send({code: 0}) })