调整低代码平台生成文件的路径
This commit is contained in:
@@ -10,7 +10,7 @@ module.exports = {
|
||||
dbUtils.query(sql).then(res => {
|
||||
let info = res?.[0]
|
||||
if (info?.id) {
|
||||
let path = `/home/deploy/node-service/aicode/${info.id}`, zipPath = `${path}/${info.id}.zip`
|
||||
let path = `./aicode/${info.id}`, zipPath = `${path}/${info.id}.zip`
|
||||
generate(info, path).then(() => {
|
||||
fse.pathExists(path, (err, exists) => {
|
||||
console.log(`${path}=========>${exists}`)
|
||||
|
||||
Reference in New Issue
Block a user