|
|
|
@ -85,6 +85,8 @@ public class InterceptorConfig implements WebMvcConfigurer, InitializingBean {
|
|
|
|
|
registry.addInterceptor(authenticationInterceptor).addPathPatterns(
|
|
|
|
|
"/**"
|
|
|
|
|
).order(2);
|
|
|
|
|
|
|
|
|
|
//url白名单过滤
|
|
|
|
|
registry.addInterceptor(new LoginInterceptor(stringRedisTemplate))
|
|
|
|
|
.excludePathPatterns(
|
|
|
|
|
"/error",
|
|
|
|
@ -98,6 +100,9 @@ public class InterceptorConfig implements WebMvcConfigurer, InitializingBean {
|
|
|
|
|
"/plugins/**",
|
|
|
|
|
"/filesystem/**",
|
|
|
|
|
"/wx/**",
|
|
|
|
|
// 资金账户列表和修改操作,子系统调用,鉴权在接口中拿到的token来鉴权。
|
|
|
|
|
"/api/studentAccountAssetAllocation/getByApplicationToken.do",
|
|
|
|
|
"/api/studentAccountAssetAllocation/updateByApplicationToken.do",
|
|
|
|
|
"/wx"
|
|
|
|
|
// "/upload/**"
|
|
|
|
|
).order(1);
|
|
|
|
|