From 4532ca7e676b510c35855bfadf10106ba7bd12e8 Mon Sep 17 00:00:00 2001
From: cl <1442464845@qq.com>
Date: 星期二, 28 四月 2026 10:11:50 +0800
Subject: [PATCH] 云仓地址配置
---
rsf-server/src/main/java/com/vincent/rsf/server/api/config/RemotesInfoProperties.java | 51 +++++++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 47 insertions(+), 4 deletions(-)
diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/api/config/RemotesInfoProperties.java b/rsf-server/src/main/java/com/vincent/rsf/server/api/config/RemotesInfoProperties.java
index b8fae24..7c0f9fe 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/api/config/RemotesInfoProperties.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/api/config/RemotesInfoProperties.java
@@ -30,16 +30,59 @@
*/
private String prePath;
+ /**
+ * 浜戜粨鍦板潃
+ */
+ private String baseUrl;
+
+ /**
+ * 榧庢嵎 ilcwmsplus 瀹屾垚鍙嶉绛夊叕鍏卞瓧娈碉紙orgNo銆佸崟鎹被鍒�佸崟浣嶏級
+ */
+ private Dap dap = new Dap();
+
+ /**
+ * 瀵瑰簲 yml {@code platform.erp.api}锛涗笌鐙珛 Bean 涓嶅悓锛屾寕鍦� {@link RemotesInfoProperties} 涓婁究浜庝竴澶勬煡鐪嬪叆/鍑哄簱 path
+ */
+ private ApiInfo api = new ApiInfo();
+
+ @Data
+ public static class Dap {
+ private String orgNo = "";
+ private String docTypeIn = "";
+ private String docTypeOut = "";
+ /** 搴撳瓨璋冩暣锛�9.2锛夊崟鎹被鍒紱绉诲簱绛� */
+ private String docTypeAdj = "";
+ private String unitNo = "PCS";
+ }
+
+ @Data
+ public static class ApiInfo {
+ /** 涓�閿笂鎶ヨ川妫�鎺ュ彛 */
+ private String notifyInspect;
+ /** 涓� CloudWmsErpFeignClient 璺緞涓�鑷达紱Feign 瀹為檯 URL = platform.erp.base-url + 鏈� path */
+ private String stockInCompletedPath = "/dapilc/restful/service/ilcwmsplus/ICusStockService/stockInCompleted";
+ private String stockOutCompletedPath = "/dapilc/restful/service/ilcwmsplus/ICusStockService/stockOutCompleted";
+ /** 9.2 搴撳瓨璋冩暣 */
+ private String inventoryAdjustPath = "/api/report/inventoryAdjust";
+ /** 鐗╂枡鍩虹淇℃伅鍚屾 */
+ private String matSyncPath = "/api/mat/sync";
+ }
+
@Data
@Configuration
- @ConfigurationProperties(prefix = "platform.erp.api")
- public class ApiInfo {
+ @ConfigurationProperties(prefix = "platform.rcs")
+ public class RcsApi {
/**
- * 涓�閿笂鎶ヨ川妫�鎺ュ彛
+ * rcs璋冪敤璺緞
*/
- private String notifyInspect;
+ private String host;
+
+ /**rcs璋冪敤绔彛**/
+ private String port;
+
}
+
public String getBaseUrl() {
return this.host + ":" + this.port + "/" + this.prePath;
}
--
Gitblit v1.9.1