Commit bcb426bc authored by wty's avatar wty

修改配置,测试11

parent 3a649365
......@@ -6,6 +6,7 @@ const config = require('../config/getConfig')()
console.info('CONFIG:',config)
const getMysql = new Promise((resolve)=>{
request(config['remote_config_url'],{},(error, request, body)=>{
if (error)console.error('MySql.js :',error)
console.info('apolloConfig:',body)
const data = JSON.parse(body)
const source = data['propertySources'][0]['source']
......
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