lxw
2022-09-17 ceb3198c5fbe2a5fd4b3c186101936d80834eba7
跨域
1个文件已修改
4 ■■■ 已修改文件
src/main/java/com/whyc/ResMeterManagerApplication.java 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/ResMeterManagerApplication.java
@@ -4,11 +4,13 @@
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
@SpringBootApplication
@EnableWebMvc
@ServletComponentScan(basePackages = {"com.whyc.filter"})
public class ResMeterManagerApplication {
public class ResMeterManagerApplication extends WebMvcConfigurerAdapter implements WebMvcConfigurer {
    public static void main(String[] args) {
        SpringApplication.run(ResMeterManagerApplication.class, args);