Commit 3842d289 authored by wty's avatar wty

修改配置,测试3

parent 0b385a45
...@@ -8,5 +8,5 @@ ...@@ -8,5 +8,5 @@
"systemName": "duiba-aurora-node", "systemName": "duiba-aurora-node",
"profiles": "dev" "profiles": "dev"
}, },
"remote_config_url": "http://configserver.dui88.com/dui123/dev?accessKey=5d0cb61fe5ef40afa49bc22b64f9ede1" "remote_config_url": "http://configserver.duiba.com/dui123/dev?accessKey=5d0cb61fe5ef40afa49bc22b64f9ede1"
} }
const env = 'test' const env = 'test'
const getConfig = ()=>{ const getConfig = ()=>{
switch (env){ switch (env){
case 'dev': case 'dev':
......
...@@ -21,7 +21,7 @@ const getMysql = new Promise((resolve)=>{ ...@@ -21,7 +21,7 @@ const getMysql = new Promise((resolve)=>{
'connectionLimit': 1000 'connectionLimit': 1000
}) })
// console.info('MysqlConfig:',Mysql.config) // console.info('MysqlConfig:',Mysql.config)
// console.info('OBJMysql',Mysql) console.info('OBJMysql',Mysql)
resolve(Mysql) resolve(Mysql)
}) })
}) })
......
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