增加计算打包时间功能
This commit is contained in:
@@ -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})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user