|
|
@@ -77,11 +77,7 @@ public class MicroServicesConf {
|
|
|
}
|
|
|
|
|
|
public String getRequestUrlForNews(String requestUrl) {
|
|
|
- if ("prod".equals(profile)){
|
|
|
- return String.format("http://%s%s", this.newsMicroServiceIp, requestUrl);
|
|
|
- }else {
|
|
|
- return String.format("http://%s:%d%s", this.microServiceIp, 80, requestUrl);
|
|
|
- }
|
|
|
+ return String.format("http://%s%s", this.newsMicroServiceIp, requestUrl);
|
|
|
}
|
|
|
|
|
|
public String getRequestUrlForFloor(int port, String requestUrl) {
|