|
@@ -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);
|
|
|
}
|
|
}
|