|
|
@@ -26,13 +26,13 @@ import org.springframework.context.annotation.Bean; |
|
|
|
import org.springframework.context.annotation.Configuration; |
|
|
|
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; |
|
|
|
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry; |
|
|
|
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; |
|
|
|
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; |
|
|
|
|
|
|
|
/** |
|
|
|
* @author leyou |
|
|
|
*/ |
|
|
|
@Configuration |
|
|
|
public class WebConfig extends WebMvcConfigurerAdapter { |
|
|
|
public class WebConfig implements WebMvcConfigurer { |
|
|
|
|
|
|
|
private final Logger logger = LoggerFactory.getLogger(WebConfig.class); |
|
|
|
|
|
|
@@ -62,5 +62,4 @@ public class WebConfig extends WebMvcConfigurerAdapter { |
|
|
|
|
|
|
|
return registration; |
|
|
|
} |
|
|
|
|
|
|
|
} |