| | |
| | | public String getBaseUrl() { |
| | | return this.host + ":" + this.port + "/" + this.prePath; |
| | | } |
| | | |
| | | |
| | | @Data |
| | | @Configuration |
| | | @ConfigurationProperties(prefix = "platform.wms") |
| | | public class WmsApi { |
| | | /** |
| | | * rcs调用路径 |
| | | */ |
| | | private String host; |
| | | |
| | | /**rcs调用端口**/ |
| | | private String port; |
| | | |
| | | } |
| | | |
| | | |
| | | @Data |
| | | @Configuration |
| | | @ConfigurationProperties(prefix = "platform.erp") |
| | | public class ErpApi { |
| | | /** |
| | | * rcs调用路径 |
| | | */ |
| | | private String host; |
| | | |
| | | /**rcs调用端口**/ |
| | | private String port; |
| | | |
| | | } |
| | | |
| | | |
| | | @Data |
| | | @Configuration |
| | | @ConfigurationProperties(prefix = "platform.wcs") |
| | | public class WcsApi { |
| | | /** |
| | | * wcs调用路径 |
| | | */ |
| | | private String host; |
| | | |
| | | /**wcs调用端口**/ |
| | | private String port; |
| | | |
| | | } |
| | | |
| | | |
| | | @Data |
| | | @Configuration |
| | | @ConfigurationProperties(prefix = "platform.hk") |
| | | public class HkApi { |
| | | /** |
| | | * hkRcs调用路径 |
| | | */ |
| | | private String host; |
| | | |
| | | /**hkRcs调用端口**/ |
| | | private String port; |
| | | |
| | | } |
| | | |
| | | |
| | | } |