jar 升级&代码优化

This commit is contained in:
MaxKey
2024-03-04 17:10:45 +08:00
parent 1b509e34e7
commit a7bf8fa62a
18 changed files with 29 additions and 140 deletions

View File

@@ -25,16 +25,14 @@ import org.dromara.maxkey.persistence.service.EmailSendersService;
import org.dromara.maxkey.persistence.service.SmsProviderService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;
@AutoConfiguration
public class SmsAutoConfiguration implements InitializingBean {
private static final Logger _logger =
LoggerFactory.getLogger(SmsAutoConfiguration.class);
public class SmsAutoConfiguration {
private static final Logger _logger = LoggerFactory.getLogger(SmsAutoConfiguration.class);
@Bean(name = "smsOtpAuthnService")
@@ -56,8 +54,4 @@ public class SmsAutoConfiguration implements InitializingBean {
return smsOtpAuthnService;
}
@Override
public void afterPropertiesSet() throws Exception {
}
}