@@ -0,0 +1,556 @@
+package com.lance.freemaker.config;%0A%0Aimport org.springframework.context.annotation.Configuration;%0Aimport org.springframework.web.servlet.config.annotation.InterceptorRegistry;%0Aimport org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;%0A%0Aimport com.lance.freemaker.interceptor.AdminInterceptor;%0A%0A@Configuration%0Apublic class WebMvcConfig extends WebMvcConfigurerAdapter%7B%0A%0A%09@Override%0A%09public void addInterceptors(InterceptorRegistry registry) %7B%0A%09%09registry.addInterceptor(new AdminInterceptor()).addPathPatterns(%22/system/admin/**%22);%0A%09%7D%0A%7D%0A

add resource