chen.lin
昨天 c81fc5e2a4f4153be2bb8602ed14a0743e6ecd29
rsf-server/src/main/java/com/vincent/rsf/server/api/config/RemotesInfoProperties.java
@@ -30,16 +30,40 @@
     */
    private String prePath;
    /**
     * 云仓地址
     */
    private String baseUrl;
    @Data
    @Configuration
    @ConfigurationProperties(prefix = "platform.erp.api")
    public class ApiInfo {
        /**
         * 一键上报质检接口
         */
        /** 一键上报质检接口 */
        private String notifyInspect;
        /** 9.1 入/出库结果上报(立库侧请求云仓) */
        private String inOutResultPath = "/api/report/inOutResult";
        /** 9.2 库存调整主动上报(立库侧请求云仓) */
        private String inventoryAdjustPath = "/api/report/inventoryAdjust";
        /** 物料基础信息同步(立库侧请求云仓) */
        private String matSyncPath = "/api/mat/sync";
    }
    @Data
    @Configuration
    @ConfigurationProperties(prefix = "platform.rcs")
    public class RcsApi {
        /**
         * rcs调用路径
         */
        private String host;
        /**rcs调用端口**/
        private String port;
    }
    public String getBaseUrl() {
        return  this.host + ":" + this.port + "/" + this.prePath;
    }