From 1c40d0806e6be07be205a4ce8faac8b8b9d01510 Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Thu, 11 Jun 2020 21:42:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BF=98=E8=AE=B0=E5=AF=86?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/cm/common/filter/AppFilter.java | 6 ++++++ 1 file changed, 6 insertions(+) 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);