|
|
|
@ -4,8 +4,6 @@ import org.springframework.context.annotation.Bean;
|
|
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
|
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
|
|
|
|
|
|
|
|
|
import cokr.xit.base.file.web.DownloadView;
|
|
|
|
|
import cokr.xit.base.file.web.XLSView;
|
|
|
|
|
import cokr.xit.base.menu.web.MenuInjector;
|
|
|
|
|
import cokr.xit.foundation.boot.MvcConfig;
|
|
|
|
|
|
|
|
|
@ -29,20 +27,4 @@ public class MvcConfig2 extends MvcConfig {
|
|
|
|
|
// super.addInterceptors(registry);
|
|
|
|
|
registry.addInterceptor(menuInjector()).addPathPatterns(URL_PATTERNS);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**DownloadView를 반환한다.
|
|
|
|
|
* @return DownloadView
|
|
|
|
|
*/
|
|
|
|
|
@Bean
|
|
|
|
|
public DownloadView downloadView() {
|
|
|
|
|
return new DownloadView();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**XLSView를 반환한다.
|
|
|
|
|
* @return XLSView
|
|
|
|
|
*/
|
|
|
|
|
@Bean
|
|
|
|
|
public XLSView xlsView() {
|
|
|
|
|
return new XLSView();
|
|
|
|
|
}
|
|
|
|
|
}
|