Commit 47c865c5 authored by 智勇's avatar 智勇

up

parent cbceb7d7
...@@ -166,8 +166,8 @@ admin.get('/get_db_config/:name/:attr', function (req, res) { ...@@ -166,8 +166,8 @@ admin.get('/get_db_config/:name/:attr', function (req, res) {
res.send(db_conf[req.params.name][req.params.attr]) res.send(db_conf[req.params.name][req.params.attr])
} else { } else {
let item = db_conf[req.params.name] let item = db_conf[req.params.name]
res.send(JSON.stringify(db_conf[req.params.name])) // res.send(JSON.stringify(db_conf[req.params.name]))
// res.send(`${item.host};${item.port};${item.user};${item.pwd};${item.sys_table_list};`) res.send(`${item.host} ${item.port} ${item.user} ${item.pwd} ${item.sys_table_list}`)
} }
} }
}); });
...@@ -193,7 +193,7 @@ admin.get('/get_node_command/:name', async function (req, res) { ...@@ -193,7 +193,7 @@ admin.get('/get_node_command/:name', async function (req, res) {
let configs = await getProjectConfigPromise(); let configs = await getProjectConfigPromise();
let projects = configs.projects let projects = configs.projects
let pro = projects[req.params.name]; let pro = projects[req.params.name];
res.send({ configPath: pro.config_file, buildCmd: pro.command, gitGroup: pro.gitPathHead }); res.send({ configPath: pro.config_file, buildCmd: pro.command, gitPath: pro.git_path });
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment