定制项目打包接口完成
This commit is contained in:
@@ -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}`))
|
||||
|
||||
Reference in New Issue
Block a user