mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 12:39:05 +08:00
♻️ Refactoring code. #1920 @Inner 写在类级别无效
This commit is contained in:
1 parent
841cc622da
commit
6dbcac8666
1 file changed
+1
-1
+1
-1
@@ -136,7 +136,7 @@ public class PermitAllUrlResolver implements InitializingBean {
|
||||
// 当配置对外的URL|GET,POST 这种形式,则获取方法列表 并注册到 spring security
|
||||
if (strings.length == 2) {
|
||||
for (String method : StrUtil.split(strings[1], StrUtil.COMMA)) {
|
||||
registry.antMatchers(HttpMethod.valueOf(method), strings[0]);
|
||||
registry.antMatchers(HttpMethod.valueOf(method), strings[0]).permitAll();
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user