新增APP版本号放行

This commit is contained in:
wenc000 2020-06-12 20:48:23 +08:00
parent 1c40d0806e
commit e98276f3e5

View File

@ -53,6 +53,10 @@ public class AppFilter implements Filter {
* APP下载 * APP下载
*/ */
private static final String URL_DOWNLOAD_APP = "/**/app/appversion/downloadapp/**"; private static final String URL_DOWNLOAD_APP = "/**/app/appversion/downloadapp/**";
/**
* APP版本号
*/
private static final String URL_APP_VERSION_NUM = "/**/app/appversion/getappversionnumber/**";
/** /**
* APP放行 * APP放行
*/ */
@ -78,6 +82,7 @@ public class AppFilter implements Filter {
|| antPathMatcher.match(URL_REGISTER, requestUri) || antPathMatcher.match(URL_REGISTER, requestUri)
|| antPathMatcher.match(URL_FORGET_PASSWORD, requestUri) || antPathMatcher.match(URL_FORGET_PASSWORD, requestUri)
|| antPathMatcher.match(URL_DOWNLOAD_APP, requestUri) || antPathMatcher.match(URL_DOWNLOAD_APP, requestUri)
|| antPathMatcher.match(URL_APP_VERSION_NUM, 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);
if (matcher) { if (matcher) {