update 优化 注释掉暂时用不上的类
This commit is contained in:
parent
60edd6148b
commit
0b79ada24c
@ -1,8 +1,6 @@
|
|||||||
package org.dromara.common.sms.config;
|
package org.dromara.common.sms.config;
|
||||||
|
|
||||||
import org.dromara.common.sms.config.properties.SmsProperties;
|
|
||||||
import org.springframework.boot.autoconfigure.AutoConfiguration;
|
import org.springframework.boot.autoconfigure.AutoConfiguration;
|
||||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 短信配置类
|
* 短信配置类
|
||||||
@ -11,7 +9,7 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties
|
|||||||
* @version 4.2.0
|
* @version 4.2.0
|
||||||
*/
|
*/
|
||||||
@AutoConfiguration
|
@AutoConfiguration
|
||||||
@EnableConfigurationProperties(SmsProperties.class)
|
//@EnableConfigurationProperties(SmsProperties.class)
|
||||||
public class SmsConfig {
|
public class SmsConfig {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
package org.dromara.common.sms.config.properties;
|
//package org.dromara.common.sms.config.properties;
|
||||||
|
//
|
||||||
import lombok.Data;
|
//import lombok.Data;
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
//import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||||
|
//
|
||||||
/**
|
///**
|
||||||
* SMS短信 配置属性
|
// * SMS短信 配置属性
|
||||||
*
|
// *
|
||||||
* @author Lion Li
|
// * @author Lion Li
|
||||||
* @version 4.2.0
|
// * @version 4.2.0
|
||||||
*/
|
// */
|
||||||
@Data
|
//@Data
|
||||||
@ConfigurationProperties(prefix = "sms")
|
//@ConfigurationProperties(prefix = "sms")
|
||||||
public class SmsProperties {
|
//public class SmsProperties {
|
||||||
|
//
|
||||||
private Boolean enabled;
|
// private Boolean enabled;
|
||||||
|
//
|
||||||
|
//
|
||||||
}
|
//}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user