diff --git a/mall-gateway/src/main/java/com/macro/mall/component/RestAuthenticationEntryPoint.java b/mall-gateway/src/main/java/com/macro/mall/component/RestAuthenticationEntryPoint.java index e3aef92..7011db7 100644 --- a/mall-gateway/src/main/java/com/macro/mall/component/RestAuthenticationEntryPoint.java +++ b/mall-gateway/src/main/java/com/macro/mall/component/RestAuthenticationEntryPoint.java @@ -16,7 +16,7 @@ import reactor.core.publisher.Mono; import java.nio.charset.Charset; /** - * 自定义返回结果:没有登录或token过期时 + * 自定义未登录或者token失效时的返回结果 * Created by macro on 2020/6/18. */ @Component diff --git a/mall-gateway/src/main/java/com/macro/mall/component/RestfulAccessDeniedHandler.java b/mall-gateway/src/main/java/com/macro/mall/component/RestfulAccessDeniedHandler.java index 81f425f..f91e430 100644 --- a/mall-gateway/src/main/java/com/macro/mall/component/RestfulAccessDeniedHandler.java +++ b/mall-gateway/src/main/java/com/macro/mall/component/RestfulAccessDeniedHandler.java @@ -17,7 +17,7 @@ import java.nio.charset.Charset; /** - * 自定义返回结果:没有权限访问时 + * 自定义无权限访问的返回结果 * Created by macro on 2018/4/26. */ @Component diff --git a/mall-gateway/src/main/java/com/macro/mall/filter/IgnoreUrlsRemoveJwtFilter.java b/mall-gateway/src/main/java/com/macro/mall/filter/IgnoreUrlsRemoveJwtFilter.java index 05a708b..b75e470 100644 --- a/mall-gateway/src/main/java/com/macro/mall/filter/IgnoreUrlsRemoveJwtFilter.java +++ b/mall-gateway/src/main/java/com/macro/mall/filter/IgnoreUrlsRemoveJwtFilter.java @@ -17,7 +17,7 @@ import java.net.URI; import java.util.List; /** - * 白名单路径访问时需要移除JWT请求头 + * 白名单路径访问时移除JWT请求头的过滤器 * Created by macro on 2020/7/24. */ @Component