|
|
@@ -61,10 +61,7 @@ public class SecurityConfig {
|
|
|
"/doc/**",
|
|
|
"/api/export/**",
|
|
|
"/api/test",
|
|
|
- "api/auth/loginByPortal",
|
|
|
- "/swagger-ui/**",
|
|
|
- "/swagger-ui.html",
|
|
|
- "/v3/api-docs/**").permitAll() // 允许公开访问的路径
|
|
|
+ "api/auth/loginByPortal").permitAll() // 允许公开访问的路径
|
|
|
.anyRequest().authenticated() // 其他所有请求需要认证
|
|
|
)
|
|
|
.exceptionHandling(exception -> exception
|