From 16a09540001bd00f01b848f0ca125d16bf314450 Mon Sep 17 00:00:00 2001 From: zhang <zc857179121@qq.com> Date: 星期五, 29 八月 2025 15:45:18 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/devlop' into devlop --- rsf-open-api/src/main/java/com/vincent/rsf/openApi/config/PlatformProperties.java | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/rsf-open-api/src/main/java/com/vincent/rsf/openApi/config/PlatformProperties.java b/rsf-open-api/src/main/java/com/vincent/rsf/openApi/config/PlatformProperties.java new file mode 100644 index 0000000..ca0c218 --- /dev/null +++ b/rsf-open-api/src/main/java/com/vincent/rsf/openApi/config/PlatformProperties.java @@ -0,0 +1,54 @@ +package com.vincent.rsf.openApi.config; + +import lombok.Data; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.context.annotation.Configuration; + +/** + * @author Ryan + * @version 1.0 + * @title PlatformProperties + * @description + * @create 2025/3/7 09:48 + */ +@Data +@Configuration +@ConfigurationProperties(prefix = "platform.rcs") +public class PlatformProperties { + + /** + * 鎺ュ彛host + */ + private String host; + /** + * 绔彛鍙� + */ + private String port; + + /** + * 鎺ュ彛閾炬帴鍓嶇紑 + */ + private String prePath; + + + 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; + + } + + +} -- Gitblit v1.9.1