Commit 0998e075 authored by 智勇's avatar 智勇

up

parent 3e237a92
...@@ -166,7 +166,8 @@ admin.get('/get_db_config/:name/:attr', function (req, res) { ...@@ -166,7 +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(`${item.host};${item.port};${item.user};${item.pwd};${item.sys_table_list};`) res.send(JSON.stringify(db_conf[req.params.name]))
// res.send(`${item.host};${item.port};${item.user};${item.pwd};${item.sys_table_list};`)
} }
} }
}); });
......
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