| | |
| | | |
| | | import com.alibaba.csp.sentinel.adapter.gateway.sc.callback.GatewayCallbackManager; |
| | | import com.alibaba.csp.sentinel.slots.block.BlockException; |
| | | import com.ruoyi.common.core.utils.ServletUtils; |
| | | import com.se.common.core.utils.ServletUtils; |
| | | import org.springframework.web.reactive.function.server.ServerResponse; |
| | | import org.springframework.web.server.ServerWebExchange; |
| | | import org.springframework.web.server.WebExceptionHandler; |
| | |
| | | /** |
| | | * 自定义限流异常处理 |
| | | * |
| | | * @author ruoyi |
| | | * @author admin |
| | | */ |
| | | public class SentinelFallbackHandler implements WebExceptionHandler |
| | | { |