Commit cab9bdeb by 袁伟铭

1.0.0

parent 1a088265
......@@ -38,8 +38,6 @@ spring:
uri: lb://${file.name}
predicates:
- Path=/file/**
# filters:
# - StripPrefix= 2
- id: user
uri: lb://${user.name}
......
......@@ -76,7 +76,7 @@ public class SpringSecurityConfig extends WebSecurityConfigurerAdapter {
Map<String, Set<String>> anonymousUrls = getAnonymousUrl(handlerMethodMap);
Set<String> allType = anonymousUrls.get(RequestMethodEnum.ALL.getType());
//不使用注解的时候在这添加url放行
allType.add("/resource/app/**");
allType.add("/user/app/**");
httpSecurity
// 禁用 CSRF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment