Commit 281c961f by zhoujinghao

加入注释

1 parent f8366ba5
...@@ -14,6 +14,7 @@ import org.springframework.cloud.gateway.filter.GlobalFilter; ...@@ -14,6 +14,7 @@ import org.springframework.cloud.gateway.filter.GlobalFilter;
import org.springframework.core.Ordered; import org.springframework.core.Ordered;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.server.reactive.ServerHttpResponse; import org.springframework.http.server.reactive.ServerHttpResponse;
import org.springframework.stereotype.Component;
import org.springframework.util.AntPathMatcher; import org.springframework.util.AntPathMatcher;
import org.springframework.web.server.ServerWebExchange; import org.springframework.web.server.ServerWebExchange;
import reactor.core.publisher.Mono; import reactor.core.publisher.Mono;
...@@ -26,6 +27,7 @@ import java.util.Set; ...@@ -26,6 +27,7 @@ import java.util.Set;
* Created by zhangzhenfang on 2018/4/17. * Created by zhangzhenfang on 2018/4/17.
*/ */
@Slf4j @Slf4j
@Component
public class AccessFilter implements GlobalFilter, Ordered { public class AccessFilter implements GlobalFilter, Ordered {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!