jiazx0107
2025-11-18 b0bf6e809ec4990ca8e3de95456c90860e49e2a5
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
package com.fzzy.eoms.data;
 
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
 
/**
 * @author: vince
 * @description: 系统中配置文件中配置系统参数
 **/
@Component
@Data
public class ConfigData {
 
    @Value("${spring.profiles.active}")
    private String active;
 
 
    @Value("${framework.profile}")
    private String profile;
 
    @Value("${framework.companyId}")
    private String defaultCompanyId;
 
    @Value("${framework.support}")
    private String support;
 
    @Value("${framework.email}")
    private String email;
 
    @Value("${framework.phone}")
    private String phone;
 
    @Value("${framework.website}")
    private String website;
 
    @Value("${framework.address}")
    private String address;
 
}