修改@Configuration属性配置,设置为false
This commit is contained in:
@ -20,7 +20,7 @@ import java.util.Map;
|
||||
* @Author hupeng <610796224@qq.com>
|
||||
* @Date 2020/4/30
|
||||
**/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class DruidConfig
|
||||
{
|
||||
@Bean
|
||||
|
@ -9,7 +9,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
* @Author hupeng <610796224@qq.com>
|
||||
* @Date 2020/4/30
|
||||
**/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class DruidProperties
|
||||
{
|
||||
@Value("${spring.datasource.druid.initialSize}")
|
||||
|
@ -17,7 +17,7 @@ import java.util.Map;
|
||||
* @Author hupeng <610796224@qq.com>
|
||||
* @Date 2020/4/30
|
||||
**/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class FilterConfig
|
||||
{
|
||||
@Value("${xss.enabled}")
|
||||
|
@ -27,7 +27,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
* @Author hupeng <610796224@qq.com>
|
||||
* @Date 2020/4/30
|
||||
**/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class InterceptorConfig implements WebMvcConfigurer {
|
||||
|
||||
@Value("${file.path}")
|
||||
|
@ -17,7 +17,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
* MybatisPlus配置
|
||||
*
|
||||
*/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class MybatisPlusConfig {
|
||||
|
||||
/**
|
||||
|
@ -27,7 +27,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
* @Date 2020/6/26
|
||||
**/
|
||||
@Slf4j
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class SmsUtils {
|
||||
|
||||
private static RedisUtils redisUtils;
|
||||
|
Reference in New Issue
Block a user