diff --git a/basic-app/src/main/java/ink/wgink/app/filter/AppTokenFilter.java b/basic-app/src/main/java/ink/wgink/app/filter/AppTokenFilter.java index 44a72d92..b54c27dc 100644 --- a/basic-app/src/main/java/ink/wgink/app/filter/AppTokenFilter.java +++ b/basic-app/src/main/java/ink/wgink/app/filter/AppTokenFilter.java @@ -49,11 +49,7 @@ public class AppTokenFilter extends GenericFilterBean implements InitializingBea /** * APP注册 */ - private static final String URL_REGISTER = "/**/app/register/saveregisteruser"; - /** - * APP注册简单 - */ - private static final String URL_REGISTER_SIMPLE = "/**/app/register/saveregisterusersimple"; + private static final String URL_REGISTER = "/**/app/register/**"; /** * APP忘记密码 */ @@ -62,14 +58,10 @@ public class AppTokenFilter extends GenericFilterBean implements InitializingBea * 下载头像 */ private static final String URL_DOWNLOAD_AVATAR = "/**/app/user/downloadavatar/**"; - /** - * APP下载 - */ - private static final String URL_DOWNLOAD_APP = "/**/app/appversion/download/**"; /** * APP版本号 */ - private static final String URL_APP_VERSION_NUM = "/**/app/appversion/getnumber/**"; + private static final String URL_APP_VERSION = "/**/app/appversion/**"; /** * APP放行 */ @@ -93,11 +85,9 @@ public class AppTokenFilter extends GenericFilterBean implements InitializingBea boolean matcher = antPathMatcher.match(URL_LOGIN_DEFAULT, requestUri) || antPathMatcher.match(URL_LOGIN_PHONE, requestUri) || antPathMatcher.match(URL_REGISTER, requestUri) - || antPathMatcher.match(URL_REGISTER_SIMPLE, requestUri) || antPathMatcher.match(URL_FORGET_PASSWORD, requestUri) || antPathMatcher.match(URL_DOWNLOAD_AVATAR, requestUri) - || antPathMatcher.match(URL_DOWNLOAD_APP, requestUri) - || antPathMatcher.match(URL_APP_VERSION_NUM, requestUri) + || antPathMatcher.match(URL_APP_VERSION, requestUri) || antPathMatcher.match(URL_RELEASE_APP, requestUri) || antPathMatcher.match(URL_RELEASE_APP_ROUTE, requestUri); if (matcher) {