| | |
| | | /**系统运行模式*/ |
| | | public static Integer runModel; |
| | | |
| | | /**FTP信息*/ |
| | | public static String ftpIp; |
| | | public static Integer ftpPort; |
| | | public static String ftpUserName; |
| | | public static String ftpPassword; |
| | | |
| | | |
| | | @Value("${spring.profiles.active}") |
| | | public void setProfileType(String profileType) { |
| | | YamlProperties.profileType = profileType; |
| | |
| | | public void setRunModel(Integer runModel) { |
| | | YamlProperties.runModel = runModel; |
| | | } |
| | | @Value("${ftpInforMation.ftpIp}") |
| | | public void setFtpIp(String ftpIp){ |
| | | YamlProperties.ftpIp=ftpIp; |
| | | } |
| | | |
| | | @Value("${ftpInforMation.ftpPort}") |
| | | public void setFtpPort(Integer ftpPort){ |
| | | YamlProperties.ftpPort=ftpPort; |
| | | } |
| | | |
| | | @Value("${ftpInforMation.ftpUserName}") |
| | | public void setFtpUserName(String ftpUserName){ |
| | | YamlProperties.ftpUserName=ftpUserName; |
| | | } |
| | | |
| | | @Value("${ftpInforMation.ftpPassword}") |
| | | public void setFtpPassword(String ftpPassword){ |
| | | YamlProperties.ftpPassword=ftpPassword; |
| | | } |
| | | |
| | | |
| | | } |