zoujiajian 2 лет назад
Родитель
Сommit
1573368999

+ 1 - 1
netflix-service/src/main/java/com/cyksj/common/EnvCommonService.java

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