开放APP接口
This commit is contained in:
parent
6c7ebe83bf
commit
c78b1b68c7
@ -50,10 +50,14 @@ public class AppTokenFilter extends GenericFilterBean implements InitializingBea
|
|||||||
* APP注册
|
* APP注册
|
||||||
*/
|
*/
|
||||||
private static final String URL_REGISTER = "/**/app/register/**";
|
private static final String URL_REGISTER = "/**/app/register/**";
|
||||||
|
/**
|
||||||
|
* APP获取验证码
|
||||||
|
*/
|
||||||
|
private static final String URL_VERIFY_CODE = "/**/app/sms/verify-code/**";
|
||||||
/**
|
/**
|
||||||
* APP忘记密码
|
* APP忘记密码
|
||||||
*/
|
*/
|
||||||
private static final String URL_FORGET_PASSWORD = "/**/app/user/forgetpassword";
|
private static final String URL_FORGET_PASSWORD = "/**/app/user/forget-phone-password";
|
||||||
/**
|
/**
|
||||||
* 下载头像
|
* 下载头像
|
||||||
*/
|
*/
|
||||||
@ -85,6 +89,7 @@ public class AppTokenFilter extends GenericFilterBean implements InitializingBea
|
|||||||
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_VERIFY_CODE, 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_APP_VERSION, requestUri)
|
|| antPathMatcher.match(URL_APP_VERSION, requestUri)
|
||||||
|
Loading…
Reference in New Issue
Block a user