1
13693261870
2024-08-16 a6186afd78f3018ea706feaad4ffb2afbc07a19d
ruoyi-gateway/src/main/java/com/ruoyi/gateway/handler/SentinelFallbackHandler.java
@@ -2,7 +2,7 @@
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;
@@ -11,7 +11,7 @@
/**
 * 自定义限流异常处理
 *
 * @author ruoyi
 * @author admin
 */
public class SentinelFallbackHandler implements WebExceptionHandler
{