Skip to content

Commit 7d41866

Browse files
committed
refactor: 修改 security ignore url
1 parent 9abadf7 commit 7d41866

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

framework/framework_svc/src/main/java/com/github/cadecode/uniboot/framework/svc/config/FrameSecurityConfig.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ protected void configure(HttpSecurity http) throws Exception {
106106
public void configure(WebSecurity web) {
107107
super.configure(web);
108108
IgnoredRequestConfigurer ignoring = web.ignoring();
109-
// 放行 framework 服务公共接口
110-
ignoring.antMatchers("/auth/login", "/system/log/save", "/system/api/list_roles_vo");
109+
// 放行登录接口
110+
ignoring.antMatchers("/auth/login");
111+
// 放行接口权限表查询接口
112+
ignoring.antMatchers("/system/api/list_roles_vo");
111113
}
112114
}

0 commit comments

Comments
 (0)