diff --git a/cloud-common/src/main/java/com/cm/common/filter/AppFilter.java b/cloud-common/src/main/java/com/cm/common/filter/AppFilter.java index c4a9094..9fe2fcf 100644 --- a/cloud-common/src/main/java/com/cm/common/filter/AppFilter.java +++ b/cloud-common/src/main/java/com/cm/common/filter/AppFilter.java @@ -45,6 +45,10 @@ public class AppFilter implements Filter { * APP注册 */ private static final String URL_REGISTER = "/**/app/register/saveregisteruser"; + /** + * APP忘记密码 + */ + private static final String URL_FORGET_PASSWORD = "/**/app/user/forgetpassword"; /** * APP下载 */ @@ -58,6 +62,7 @@ public class AppFilter implements Filter { */ private static final String URL_RELEASE_APP_ROUTE = "/**/approute/**/**release/**"; + @Override public void init(FilterConfig filterConfig) throws ServletException { antPathMatcher = new AntPathMatcher(); @@ -71,6 +76,7 @@ public class AppFilter implements Filter { boolean matcher = antPathMatcher.match(URL_LOGIN_DEFAULT, requestUri) || antPathMatcher.match(URL_LOGIN_PHONE, requestUri) || antPathMatcher.match(URL_REGISTER, requestUri) + || antPathMatcher.match(URL_FORGET_PASSWORD, requestUri) || antPathMatcher.match(URL_DOWNLOAD_APP, requestUri) || antPathMatcher.match(URL_RELEASE_APP, requestUri) || antPathMatcher.match(URL_RELEASE_APP_ROUTE, requestUri);