[dev_robotaxi-d_230412_2.15.0]DNS域名增加正式地址域名
This commit is contained in:
@@ -25,6 +25,7 @@ public class HostConst {
|
||||
public static final String HOST_RELEASE = "http://eagle-mis.zhidaozhixing.com";
|
||||
|
||||
public static final String HOST_EAGLE_QA = "http://eagle-dns-qa.zhidaozhixing.com/";
|
||||
public static final String HOST_EAGLE_RELEASE = "http://eagle-dns.zhidaozhixing.com/";
|
||||
|
||||
public static String getHost() {
|
||||
String host = HOST_RELEASE;
|
||||
@@ -38,7 +39,14 @@ public class HostConst {
|
||||
}
|
||||
|
||||
public static String getEagleHost(){
|
||||
return HOST_EAGLE_QA;
|
||||
String eagleHost = HOST_EAGLE_RELEASE;
|
||||
switch (DebugConfig.getNetMode()){
|
||||
case DebugConfig.NET_MODE_DEV:
|
||||
case DebugConfig.NET_MODE_QA:
|
||||
eagleHost = HOST_EAGLE_QA;
|
||||
break;
|
||||
}
|
||||
return eagleHost;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user