diff --git a/renren-admin/src/main/java/io/renren/common/domain/BaoTouProperties.java b/renren-admin/src/main/java/io/renren/common/domain/BaoTouProperties.java new file mode 100644 index 00000000..61f0b17a --- /dev/null +++ b/renren-admin/src/main/java/io/renren/common/domain/BaoTouProperties.java @@ -0,0 +1,19 @@ +package io.renren.common.domain; + + +import lombok.Data; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.context.annotation.PropertySource; +import org.springframework.stereotype.Component; + + +/** + * 包头区域配置项 + */ +@Data +@Component +@PropertySource("classpath:baotou.properties") +@ConfigurationProperties(prefix = "baotou") +public class BaoTouProperties { + private String hlsurl; +} diff --git a/renren-admin/src/main/resources/baotou.properties b/renren-admin/src/main/resources/baotou.properties new file mode 100644 index 00000000..f59252f2 --- /dev/null +++ b/renren-admin/src/main/resources/baotou.properties @@ -0,0 +1 @@ +baotou.hlsurl=http://10.110.205.1:18088/server/device/hisdeviceapplylist/url/%s \ No newline at end of file