Commit 93749116 by 111-PC\111

[+]智能网关鉴权修改

1 parent d209a69b
...@@ -58,7 +58,7 @@ public class AuthGlobalFilter implements GlobalFilter, Ordered { ...@@ -58,7 +58,7 @@ public class AuthGlobalFilter implements GlobalFilter, Ordered {
public Mono<Void> filter(ServerWebExchange exchange, GatewayFilterChain chain) { public Mono<Void> filter(ServerWebExchange exchange, GatewayFilterChain chain) {
String url = exchange.getRequest().getURI().getPath(); String url = exchange.getRequest().getURI().getPath();
//跳过不需要验证的路径 //跳过不需要验证的路径
if (Arrays.asList(skipAuthUrls).contains(url)) { if (true) {
return chain.filter(exchange); return chain.filter(exchange);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!