Browse Source

跨域去除

guq 6 years ago
parent
commit
106a1a8c02

+ 1 - 1
applications/school/school-server/src/main/java/com/usoftchina/smartschool/school/SchoolApplication.java

@@ -19,7 +19,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
 @ServletComponentScan
 @ServletComponentScan
 @EnableEurekaClient
 @EnableEurekaClient
 @EnableFeignClients("com.usoftchina.smartschool")
 @EnableFeignClients("com.usoftchina.smartschool")
-public class SchoolApplication extends WebMvcConfigurerAdapter {
+public class SchoolApplication {
     public static void main(String[] args) {
     public static void main(String[] args) {
         SpringApplication.run(SchoolApplication.class, args);
         SpringApplication.run(SchoolApplication.class, args);
     }
     }