...
|
...
|
@@ -29,17 +29,10 @@ public class BaseServiceCaller { |
|
|
@Value("${erp-gateway.url}")
|
|
|
private String erpGatewayUrl;
|
|
|
|
|
|
@Value("${yoho.gateway.url:http://service.yoho.yohoops.org}")
|
|
|
private String yohoGatewayUrl;
|
|
|
|
|
|
public String getErpGatewayUrl() {
|
|
|
return erpGatewayUrl;
|
|
|
}
|
|
|
|
|
|
public String getYohoGatewayUrl() {
|
|
|
return yohoGatewayUrl;
|
|
|
}
|
|
|
|
|
|
public ApiResponse proxyPost(String serviceName, String url, Object object) {
|
|
|
return doPost(serviceName, url, object);
|
|
|
}
|
...
|
...
|
|