Commit 5e31c73d by zhuht

[chg]字典,集团,用户查询接口添加到白名单里,不然非admin用户且无接口权限的用户无法登录系统,前端初始化时需要这3个接口的数据;

1 parent 07a49211
...@@ -15,6 +15,7 @@ public class InterceptorConfig implements WebMvcConfigurer { ...@@ -15,6 +15,7 @@ public class InterceptorConfig implements WebMvcConfigurer {
StpUtil.checkLogin(); StpUtil.checkLogin();
})) }))
.addPathPatterns("/api/**") .addPathPatterns("/api/**")
.excludePathPatterns("/api/dictionarys", "/api/accounts", "/api/users")
.excludePathPatterns("/api/upLoadFile", "/api/ding/callback/**", "/api/wechat/**", "/error") .excludePathPatterns("/api/upLoadFile", "/api/ding/callback/**", "/api/wechat/**", "/error")
.excludePathPatterns("/api/order/sign/*") .excludePathPatterns("/api/order/sign/*")
.excludePathPatterns("/api/taskTemp", "/api/taskTemp/wechatCallback"); .excludePathPatterns("/api/taskTemp", "/api/taskTemp/wechatCallback");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!