| | |
| | | package com.fzzy.eoms.data; |
| | | package com.fzzy.igds.data; |
| | | |
| | | import lombok.Data; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | |
| | | /** |
| | | * @author: vince |
| | | * @description: 系统中配置文件中配置系统参数 |
| | | **/ |
| | | * 系统配置文件中的参数 |
| | | * |
| | | * @author sgj |
| | | * @since 2026/04/10 |
| | | */ |
| | | @Component |
| | | @Data |
| | | public class ConfigData { |
| | | |
| | | @Value("${spring.profiles.active}") |
| | | private String active; |
| | | |
| | | @Value("${framework.weChat.wxServeUrl}") |
| | | private String wxServeUrl; |
| | | |
| | | @Value("${framework.profile}") |
| | | private String profile; |
| | | @Value("${framework.weChat.wxAppId}") |
| | | private String wxAppId; |
| | | |
| | | @Value("${framework.companyId}") |
| | | private String defaultCompanyId; |
| | | @Value("${framework.weChat.wxSecret}") |
| | | private String wxSecret; |
| | | |
| | | @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; |
| | | |
| | | /** |
| | | * 公众号消息模板id---告警模板 |
| | | */ |
| | | @Value("${framework.weChat.template-id}") |
| | | private String wxTempId; |
| | | } |