|
|
@@ -9,6 +9,7 @@ import com.uas.service.donate.web.filter.SSOInterceptor;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
+import org.springframework.web.servlet.config.annotation.EnableWebMvc;
|
|
|
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
|
|
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
|
|
|
|
|
|
@@ -21,6 +22,7 @@ import java.util.Properties;
|
|
|
* @author hejq
|
|
|
*/
|
|
|
@Configuration
|
|
|
+@EnableWebMvc
|
|
|
public class SSOConfiguration extends WebMvcConfigurerAdapter {
|
|
|
|
|
|
@Autowired
|
|
|
@@ -35,7 +37,8 @@ public class SSOConfiguration extends WebMvcConfigurerAdapter {
|
|
|
excludePathPatterns("/WEB-INF/**","/**/static/**", "/sso/login/**", "/sso/logout/**",
|
|
|
"/", "/project/**", "/activity/**","/carousels/**", "/message/**",
|
|
|
"/org/**", "/projectconclude/**", "/projectevolve/**", "/projectfinance/**",
|
|
|
- "/projectrecode/**", "/wxpay/**", "/alipay/**", "/mobile", "/index", "/activeCenter");
|
|
|
+ "/projectrecode/**", "/wxpay/**", "/alipay/**", "/mobile", "/index", "/activeCenter",
|
|
|
+ "/app/**");
|
|
|
}
|
|
|
|
|
|
@Bean
|