放心 file-center 路由

This commit is contained in:
wanggeng 2022-08-07 21:58:39 +08:00
parent 584970d96c
commit c9383db7e5

View File

@ -78,6 +78,7 @@ public class AppTokenFilter extends GenericFilterBean implements InitializingBea
* APP回调
*/
private static final String URL_CALLBACK_APP = "/**/app/**/**callback/**";
private static final String URP_FILE_CENTER = "/**/app/file-center/**";
@Override
public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
@ -100,7 +101,8 @@ public class AppTokenFilter extends GenericFilterBean implements InitializingBea
|| antPathMatcher.match(URL_APP_VERSION, requestUri)
|| antPathMatcher.match(URL_RELEASE_APP, requestUri)
|| antPathMatcher.match(URL_RELEASE_APP_ROUTE, requestUri)
|| antPathMatcher.match(URL_CALLBACK_APP, requestUri);
|| antPathMatcher.match(URL_CALLBACK_APP, requestUri)
|| antPathMatcher.match(URP_FILE_CENTER, requestUri);
if (matcher) {
filterChain.doFilter(request, response);
return;