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 b54eadf..842a697 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 @@ -49,6 +49,10 @@ public class AppFilter implements Filter { * APP忘记密码 */ private static final String URL_FORGET_PASSWORD = "/**/app/user/forgetpassword"; + /** + * 下载头像 + */ + private static final String URL_DOWNLOAD_AVATAR = "/**/app/user/downloadavatar/**"; /** * APP下载 */ @@ -81,6 +85,7 @@ public class AppFilter implements Filter { || antPathMatcher.match(URL_LOGIN_PHONE, requestUri) || antPathMatcher.match(URL_REGISTER, requestUri) || antPathMatcher.match(URL_FORGET_PASSWORD, requestUri) + || antPathMatcher.match(URL_DOWNLOAD_AVATAR, requestUri) || antPathMatcher.match(URL_DOWNLOAD_APP, requestUri) || antPathMatcher.match(URL_APP_VERSION_NUM, requestUri) || antPathMatcher.match(URL_RELEASE_APP, requestUri)