新增放行URL

This commit is contained in:
wenc000 2020-11-20 18:08:17 +08:00
parent 5bb693e2b7
commit 94ac42ed23

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_REGISTER_SIMPLE = "/**/app/register/saveregisterusersimple";
/** /**
* APP忘记密码 * APP忘记密码
*/ */
@ -84,6 +88,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_REGISTER_SIMPLE, requestUri)
|| antPathMatcher.match(URL_FORGET_PASSWORD, requestUri) || antPathMatcher.match(URL_FORGET_PASSWORD, requestUri)
|| antPathMatcher.match(URL_DOWNLOAD_AVATAR, requestUri) || antPathMatcher.match(URL_DOWNLOAD_AVATAR, requestUri)
|| antPathMatcher.match(URL_DOWNLOAD_APP, requestUri) || antPathMatcher.match(URL_DOWNLOAD_APP, requestUri)