[8.0.0]
[fea] [trajectory 变更]
This commit is contained in:
@@ -49,23 +49,12 @@ public class HostConst {
|
||||
|
||||
public static String getNDEHost() {
|
||||
if (unifiedNdeHost.isEmpty() || unifiedNdeHost == null) {
|
||||
return getOldNDEHost();
|
||||
return FunctionBuildConfig.urlJson.getNdeUrl();
|
||||
} else {
|
||||
return unifiedNdeHost;
|
||||
}
|
||||
}
|
||||
|
||||
private static String getOldNDEHost() {
|
||||
String host = NED_RELEASE;
|
||||
switch (DebugConfig.getNetMode()) {
|
||||
case DebugConfig.NET_MODE_DEV:
|
||||
case DebugConfig.NET_MODE_QA:
|
||||
host = NED_QA;
|
||||
break;
|
||||
}
|
||||
return host;
|
||||
}
|
||||
|
||||
public static void updateNdeHost(String ndeHost, int srcType) {
|
||||
sourceType = srcType;
|
||||
unifiedNdeHost = ndeHost;
|
||||
|
||||
Reference in New Issue
Block a user