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;
|
|
@Value("${igds.weather-url}")
|
private String weatherUrl;
|
}
|