|
|
@@ -42,7 +42,7 @@ public class EnvCommonService {
|
|
|
}
|
|
|
|
|
|
public String getApi() {
|
|
|
- return api = EnvCommonService.active_prd.equals(getEnv()) ? "api" : "api2";
|
|
|
+ return api = !EnvCommonService.active_prd.equals(getEnv()) ? "api2" : "api";
|
|
|
}
|
|
|
public String getDomain() {
|
|
|
return this.getHost().substring(0, this.getHost().indexOf(port));
|