|
|
@@ -16,6 +16,9 @@ public class MicroServicesConfMulti {
|
|
|
@Value("#{sys.endpointUri ?: '10.10.101.23'}")
|
|
|
private String microServiceIp;
|
|
|
|
|
|
+ @Value("#{sys.storecmsMicroServiceIp ?: '10.10.101.23'}")
|
|
|
+ private String storecmsMicroServiceIp;
|
|
|
+
|
|
|
@Value("#{sys.recommendPort ?: '20102'}")
|
|
|
private String recommendPort;
|
|
|
|
|
|
@@ -36,6 +39,6 @@ public class MicroServicesConfMulti {
|
|
|
}
|
|
|
|
|
|
public String getRecommendUrl(String requestUrl) {
|
|
|
- return String.format("http://%s:%s%s", this.microServiceIp, this.recommendPort, requestUrl);
|
|
|
+ return String.format("http://%s:%s%s", this.storecmsMicroServiceIp, this.recommendPort, requestUrl);
|
|
|
}
|
|
|
}
|