package org.sxkj.odm.config;
|
|
import lombok.Data;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.cloud.context.config.annotation.RefreshScope;
|
import org.springframework.stereotype.Component;
|
|
/**
|
* odm 配置类型信息读取
|
* @author zhongrj
|
*/
|
@Data
|
@RefreshScope
|
@Component
|
@ConfigurationProperties(prefix = "odm.task")
|
public class OdmProperties {
|
|
/**
|
* webodm 账号
|
*/
|
private String username;
|
|
/**
|
* webodm 密码
|
*/
|
private String password;
|
|
/**
|
* webodm api 访问url
|
*/
|
private String apiBaseUrl;
|
|
/**
|
* odm 资源映射url
|
*/
|
private String httpsPreFixUrl;
|
|
/**
|
* webodm 数据基础路径
|
*/
|
private String webodmDataBasePath;
|
|
/**
|
* webodm 资源下载url
|
*/
|
private String domainUrl;
|
}
|