Commit 1149e4b7 by zhangxingmin

push

parent 03b738f0
...@@ -99,6 +99,7 @@ public class GatewayJwtAuthFilterConfig { ...@@ -99,6 +99,7 @@ public class GatewayJwtAuthFilterConfig {
private boolean isWhitelist(String path) { private boolean isWhitelist(String path) {
// 白名单路径:与SecurityWebFilterChain中的配置保持一致 // 白名单路径:与SecurityWebFilterChain中的配置保持一致
return path.startsWith("/auth/") return path.startsWith("/auth/")
|| path.startsWith("/ossFile/list")
|| path.startsWith("/swagger-ui/") || path.startsWith("/swagger-ui/")
|| path.startsWith("/v3/api-docs/") || path.startsWith("/v3/api-docs/")
|| isKnife4jWhitelist(path); || isKnife4jWhitelist(path);
......
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