放心 file-center 路由
This commit is contained in:
parent
584970d96c
commit
c9383db7e5
@ -78,6 +78,7 @@ public class AppTokenFilter extends GenericFilterBean implements InitializingBea
|
|||||||
* APP回调
|
* APP回调
|
||||||
*/
|
*/
|
||||||
private static final String URL_CALLBACK_APP = "/**/app/**/**callback/**";
|
private static final String URL_CALLBACK_APP = "/**/app/**/**callback/**";
|
||||||
|
private static final String URP_FILE_CENTER = "/**/app/file-center/**";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
|
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_APP_VERSION, requestUri)
|
||||||
|| antPathMatcher.match(URL_RELEASE_APP, requestUri)
|
|| antPathMatcher.match(URL_RELEASE_APP, requestUri)
|
||||||
|| antPathMatcher.match(URL_RELEASE_APP_ROUTE, 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) {
|
if (matcher) {
|
||||||
filterChain.doFilter(request, response);
|
filterChain.doFilter(request, response);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user