Commit f92bfcf7 authored by 王亮's avatar 王亮

add apollo url.

parent 9b129283
......@@ -26,7 +26,10 @@ public class QGConfigManager extends DefaultConfigManager {
boolean isPro = Env.PRO.name().equalsIgnoreCase(env);
if (isPro) {
log.info("Env={} DataCenter={} Apollo 生产环境加载", env, idc);
System.setProperty("apollo.meta","http://apollo-pro.quantgroups.com");
return;
}else{
System.setProperty("apollo.meta","http://apollo-dev.quantgroups.com");
}
String namespace = System.getProperty("NAMESPACE");
if (namespace == null) {
......
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