[fea]
[trajectory 变更]
This commit is contained in:
yangyakun
2025-05-12 15:19:58 +08:00
parent bbf278125b
commit 850d70a147
16 changed files with 127 additions and 49 deletions

View File

@@ -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;