czt
2024-11-27 416380997a1e0c473c85826c361ebe38d21169fb
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
package com.fzzy.data;
 
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
 
/**
 * @author: he
 * @description: 系统中配置文件中配置系统参数
 **/
@Component
@Data
public class ConfigData {
 
    @Value("${spring.profiles.active}")
    private String active;
 
    @Value("${igds.default.companyId}")
    private String companyId;
 
    @Value("${igds.file-path}")
    private String filePath;
 
    @Value("${igds.img-path}")
    private String imgPath;
}