增加计算打包时间功能

This commit is contained in:
aixianling
2022-06-17 11:28:43 +08:00
parent a57d6741ad
commit fc2dfa1d2d

View File

@@ -21,7 +21,7 @@ module.exports = {
db.query(`update node_autodeploy set download='${dayjs().format("YYYY-MM-DD HH:mm:ss")}',error='' where id='${info.id}'`)
}).catch(err => {
console.log(err)
db.query(`update node_autodeploy set error='${err}' where id='${info.id}'`)
db.query(`update node_autodeploy set error='${err}',zipTime=null where id='${info.id}'`)
})
} else response.send({code: 1, err: "无法找到部署工程"})
}).catch(err => {