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 index 61f0b17a..471b2158 100644 --- a/renren-admin/src/main/java/io/renren/common/domain/BaoTouProperties.java +++ b/renren-admin/src/main/java/io/renren/common/domain/BaoTouProperties.java @@ -12,7 +12,7 @@ import org.springframework.stereotype.Component; */ @Data @Component -@PropertySource("classpath:baotou.properties") +@PropertySource("classpath:/domain/baotou.properties") @ConfigurationProperties(prefix = "baotou") public class BaoTouProperties { private String hlsurl; diff --git a/renren-admin/src/main/java/io/renren/common/domain/TsingtaoProperties.java b/renren-admin/src/main/java/io/renren/common/domain/TsingtaoProperties.java new file mode 100644 index 00000000..7041bcd8 --- /dev/null +++ b/renren-admin/src/main/java/io/renren/common/domain/TsingtaoProperties.java @@ -0,0 +1,18 @@ +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:/domain/tsingtao.properties") +@ConfigurationProperties(prefix = "tsingtao") +public class TsingtaoProperties { + +} diff --git a/renren-admin/src/main/java/io/renren/common/domain/Tsingtao_xhaProperties.java b/renren-admin/src/main/java/io/renren/common/domain/Tsingtao_xhaProperties.java new file mode 100644 index 00000000..391d91d4 --- /dev/null +++ b/renren-admin/src/main/java/io/renren/common/domain/Tsingtao_xhaProperties.java @@ -0,0 +1,15 @@ +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:/domain/tsingtao_xha.properties") +@ConfigurationProperties(prefix = "tsingtao") +public class Tsingtao_xhaProperties { + +} diff --git a/renren-admin/src/main/resources/baotou.properties b/renren-admin/src/main/resources/domain/baotou.properties similarity index 100% rename from renren-admin/src/main/resources/baotou.properties rename to renren-admin/src/main/resources/domain/baotou.properties diff --git a/renren-admin/src/main/resources/domain/tsingtao.properties b/renren-admin/src/main/resources/domain/tsingtao.properties new file mode 100644 index 00000000..e69de29b diff --git a/renren-admin/src/main/resources/domain/tsingtao_xha.properties b/renren-admin/src/main/resources/domain/tsingtao_xha.properties new file mode 100644 index 00000000..e69de29b