PathMatcher pathMatcher = new AntPathMatcher();
if (pathMatcher.match(s(数组中的每一个元素,也就是要放行的路径), req.getRequestURI()(本次请求的路径)))