jiazx0107@163.com
2023-11-06 69cd9f59a0fabf12f8c9147fcba7f69817a870b3
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
package com.ld.igds.data;
 
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
 
/**
 * @author: andy.jia
 * @description: 系统中配置文件中配置系统参数
 * @date:2019.05.02
 **/
@Component
@Data
public class ConfigData {
 
    @Value("${igds.default.companyId}")
    private String defaultCompanyId;
 
    @Value("${igds.file-path}")
    private String filePath;
 
    @Value("${spring.profiles.active}")
    private String active;
 
    @Value("${igds.warn-path}")
    private String warnPath;
    /**
     * 监管平台接口地址
     */
    @Value("${igds.api-path-jg}")
    private String apiPathJg;
 
    /**
     * 气象接口地址
     */
    @Value("${igds.weather-path}")
    private String weatherPath;
 
}