spring.profiles.active

This commit is contained in:
MaxKey
2021-03-26 11:35:36 +08:00
parent 290dd28077
commit 2d9df5b0b3
24 changed files with 660 additions and 425 deletions

View File

@@ -51,7 +51,7 @@ public class SmsOtpAuthn extends AbstractOtpAuthn {
Resource resource = new ClassPathResource(
ConstantsProperties.classPathResource(
ConstantsProperties.classPathResource(
ConstantsProperties.maxKeyPropertySource)));
ConstantsProperties.applicationPropertySource)));
properties = new Properties();
properties.load(resource.getInputStream());
}