吉安感知网项目-后端
xiebin
2026-01-06 d207a86cdf1ab52ef8cb7cd83bad8fceab8038cf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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;
}