| | |
| | | /**系统运行模式*/ |
| | | public static Integer runModel; |
| | | |
| | | |
| | | public static String i18nLanguage; |
| | | |
| | | @Value("${spring.profiles.active}") |
| | | public void setProfileType(String profileType) { |
| | | private void setProfileType(String profileType) { |
| | | YamlProperties.profileType = profileType; |
| | | } |
| | | |
| | | @Value("${system.type}") |
| | | public void setSystemType(Integer systemType) { |
| | | private void setSystemType(Integer systemType) { |
| | | YamlProperties.systemType = systemType; |
| | | } |
| | | |
| | | |
| | | @Value("${configFile.type}") |
| | | public void setRunModel(Integer runModel) { |
| | | private void setRunModel(Integer runModel) { |
| | | YamlProperties.runModel = runModel; |
| | | } |
| | | |
| | | |
| | | |
| | | @Value("${configFile.i18nLanguage}") |
| | | private void setI18nLanguage(String i18nLanguage) { |
| | | YamlProperties.i18nLanguage = i18nLanguage; |
| | | } |
| | | } |