update 优化 注释掉暂时用不上的类

feature/model
疯狂的狮子Li 1 year ago
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…
Cancel
Save