Commit eeff008d by 袁伟铭

第一版

parent 9250fa86
...@@ -76,7 +76,7 @@ public class SpringSecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -76,7 +76,7 @@ public class SpringSecurityConfig extends WebSecurityConfigurerAdapter {
Map<String, Set<String>> anonymousUrls = getAnonymousUrl(handlerMethodMap); Map<String, Set<String>> anonymousUrls = getAnonymousUrl(handlerMethodMap);
Set<String> apiSet = new HashSet<>(); Set<String> apiSet = new HashSet<>();
//不使用注解的时候在这添加url放行 //不使用注解的时候在这添加url放行
apiSet.add("/**/static/map/**"); apiSet.add("/static/map/**");
anonymousUrls.put("API", apiSet); anonymousUrls.put("API", apiSet);
httpSecurity httpSecurity
......
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