mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	update 优化 注释掉暂时用不上的类
This commit is contained in:
		@@ -1,8 +1,6 @@
 | 
			
		||||
package org.dromara.common.sms.config;
 | 
			
		||||
 | 
			
		||||
import org.dromara.common.sms.config.properties.SmsProperties;
 | 
			
		||||
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
 | 
			
		||||
 */
 | 
			
		||||
@AutoConfiguration
 | 
			
		||||
@EnableConfigurationProperties(SmsProperties.class)
 | 
			
		||||
//@EnableConfigurationProperties(SmsProperties.class)
 | 
			
		||||
public class SmsConfig {
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,19 +1,19 @@
 | 
			
		||||
package org.dromara.common.sms.config.properties;
 | 
			
		||||
 | 
			
		||||
import lombok.Data;
 | 
			
		||||
import org.springframework.boot.context.properties.ConfigurationProperties;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * SMS短信 配置属性
 | 
			
		||||
 *
 | 
			
		||||
 * @author Lion Li
 | 
			
		||||
 * @version 4.2.0
 | 
			
		||||
 */
 | 
			
		||||
@Data
 | 
			
		||||
@ConfigurationProperties(prefix = "sms")
 | 
			
		||||
public class SmsProperties {
 | 
			
		||||
 | 
			
		||||
    private Boolean enabled;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
//package org.dromara.common.sms.config.properties;
 | 
			
		||||
//
 | 
			
		||||
//import lombok.Data;
 | 
			
		||||
//import org.springframework.boot.context.properties.ConfigurationProperties;
 | 
			
		||||
//
 | 
			
		||||
///**
 | 
			
		||||
// * SMS短信 配置属性
 | 
			
		||||
// *
 | 
			
		||||
// * @author Lion Li
 | 
			
		||||
// * @version 4.2.0
 | 
			
		||||
// */
 | 
			
		||||
//@Data
 | 
			
		||||
//@ConfigurationProperties(prefix = "sms")
 | 
			
		||||
//public class SmsProperties {
 | 
			
		||||
//
 | 
			
		||||
//    private Boolean enabled;
 | 
			
		||||
//
 | 
			
		||||
//
 | 
			
		||||
//}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user