From 2a24c69b830d9dc97a8673f5f69418e9f95f3e1b Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期一, 07 七月 2025 10:43:33 +0800 Subject: [PATCH] no message --- zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/entity/domain/SystemProperties.java | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/entity/domain/SystemProperties.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/entity/domain/SystemProperties.java index 0ead602..636da74 100644 --- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/entity/domain/SystemProperties.java +++ b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/entity/domain/SystemProperties.java @@ -2,19 +2,31 @@ import lombok.Data; +import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; -@Data -@ConfigurationProperties(prefix = "rcs") +//@ConfigurationProperties(prefix = "rcs") @Component +@Data public class SystemProperties { + /***RCS鍩虹API HOST*/ + @Value("${rcs.baseHost}") private String baseHost; - /***RRCS涓婃姤浠诲姟鐘舵��*/ + + /***RCS涓婃姤浠诲姟鐘舵��*/ + @Value("${rcs.issueTaskOfEvent}") private String issueTaskOfEvent; + /**RCS閫氱煡浼犺緭绾挎祦鍔�*/ + @Value("${rcs.conveyorStart}") private String conveyorStart; + + /**ESS鎺ユ敹浠诲姟涓嬪彂鎺ュ彛*/ + @Value("${rcs.essReceiveTask}") + private String essReceiveTask; + private static String HOST = "http://localhost:8080"; // // public static String ISSUE_TASK_OF_EVENT = HOST + "/task/create"; -- Gitblit v1.9.1