包头配置文件引入
This commit is contained in:
parent
21603f50fa
commit
ae66fffc8d
|
@ -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;
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
baotou.hlsurl=http://10.110.205.1:18088/server/device/hisdeviceapplylist/url/%s
|
Loading…
Reference in New Issue