修正 mvc-starter 配置文件

This commit is contained in:
Administrator
2020-11-03 16:10:53 +08:00
parent b8b47bf595
commit a67a17ca39

View File

@ -1,11 +1,15 @@
package com.chinaunicom.mall.ebtp.cloud.mvc.starter; package com.chinaunicom.mall.ebtp.cloud.mvc.starter;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource; import org.springframework.context.annotation.PropertySource;
import com.chinaunicom.mall.ebtp.cloud.mvc.starter.advice.BusinessExceptionHandlerAdvice;
@Configuration @Configuration
@ComponentScan(basePackages = "com.chinaunicom.mall.ebtp.cloud.mvc.starter") @Import({
BusinessExceptionHandlerAdvice.class
})
@PropertySource("classpath:mcv-configuration.properties") @PropertySource("classpath:mcv-configuration.properties")
public class MvcStarterConfiguration { public class MvcStarterConfiguration {
} }