现有区域配置文件 加入
This commit is contained in:
parent
ae66fffc8d
commit
b4af15eab1
|
@ -12,7 +12,7 @@ import org.springframework.stereotype.Component;
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@Component
|
@Component
|
||||||
@PropertySource("classpath:baotou.properties")
|
@PropertySource("classpath:/domain/baotou.properties")
|
||||||
@ConfigurationProperties(prefix = "baotou")
|
@ConfigurationProperties(prefix = "baotou")
|
||||||
public class BaoTouProperties {
|
public class BaoTouProperties {
|
||||||
private String hlsurl;
|
private String hlsurl;
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
|
}
|
|
@ -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 {
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue