Commit 6c1ebe95 by zhoujinghao

过滤器接口加入

1 parent f449c247
...@@ -38,7 +38,7 @@ public class AccessFilter implements GlobalFilter, Ordered { ...@@ -38,7 +38,7 @@ public class AccessFilter implements GlobalFilter, Ordered {
String url = exchange.getRequest().getURI().getPath(); String url = exchange.getRequest().getURI().getPath();
//相关不需要的接口地址 //相关不需要的接口地址
String skip ="app/nafmii/test/"; String skip ="app/nafmii/test/search";
//跳过不需要验证的url //跳过不需要验证的url
if (antPathMatcher.match(skip, url)){ if (antPathMatcher.match(skip, url)){
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!