新增忘记密码

This commit is contained in:
wenc000 2020-06-11 21:42:27 +08:00
parent e03d2b41f0
commit 1c40d0806e

View File

@ -45,6 +45,10 @@ public class AppFilter implements Filter {
* APP注册 * APP注册
*/ */
private static final String URL_REGISTER = "/**/app/register/saveregisteruser"; private static final String URL_REGISTER = "/**/app/register/saveregisteruser";
/**
* APP忘记密码
*/
private static final String URL_FORGET_PASSWORD = "/**/app/user/forgetpassword";
/** /**
* APP下载 * APP下载
*/ */
@ -58,6 +62,7 @@ public class AppFilter implements Filter {
*/ */
private static final String URL_RELEASE_APP_ROUTE = "/**/approute/**/**release/**"; private static final String URL_RELEASE_APP_ROUTE = "/**/approute/**/**release/**";
@Override @Override
public void init(FilterConfig filterConfig) throws ServletException { public void init(FilterConfig filterConfig) throws ServletException {
antPathMatcher = new AntPathMatcher(); antPathMatcher = new AntPathMatcher();
@ -71,6 +76,7 @@ public class AppFilter implements Filter {
boolean matcher = antPathMatcher.match(URL_LOGIN_DEFAULT, requestUri) boolean matcher = antPathMatcher.match(URL_LOGIN_DEFAULT, requestUri)
|| antPathMatcher.match(URL_LOGIN_PHONE, requestUri) || antPathMatcher.match(URL_LOGIN_PHONE, requestUri)
|| antPathMatcher.match(URL_REGISTER, requestUri) || antPathMatcher.match(URL_REGISTER, requestUri)
|| antPathMatcher.match(URL_FORGET_PASSWORD, requestUri)
|| antPathMatcher.match(URL_DOWNLOAD_APP, requestUri) || antPathMatcher.match(URL_DOWNLOAD_APP, 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);