Commit b8a29ffe authored by 赵啸非's avatar 赵啸非

添加用户查询列表

parent 78333db5
package com.mortals.xhx.base.framework.config;
import com.mortals.xhx.base.framework.handler.SentinelFallbackHandler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;
......@@ -18,11 +17,11 @@ import org.springframework.security.web.server.SecurityWebFilterChain;
@Configuration
@EnableWebFluxSecurity
public class GatewayConfig {
@Bean
@Order(Ordered.HIGHEST_PRECEDENCE)
public SentinelFallbackHandler sentinelGatewayExceptionHandler() {
return new SentinelFallbackHandler();
}
// @Bean
// @Order(Ordered.HIGHEST_PRECEDENCE)
// public SentinelFallbackHandler sentinelGatewayExceptionHandler() {
// return new SentinelFallbackHandler();
// }
@Bean
public SecurityWebFilterChain springSecurityFilterChain(ServerHttpSecurity http) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment