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}) })