增加过滤路径

This commit is contained in:
zhujunshuai
2023-02-22 11:09:32 +08:00
parent 1934140263
commit c5f0808589

View File

@@ -54,6 +54,7 @@ public class TokenRegistryInterceptor extends HandlerInterceptorAdapter {
limitUri.add("/api/wxCert/wxCertGuide");
limitUri.add("/api/callback/");
limitUri.add("/api/open/login");
limitUri.add("/api/index.html");
boolean passFlag = limitUri.stream().anyMatch(s -> s.equals(requestUri) || requestUri.startsWith(s));
if (passFlag) {
return true;