From 2e7a31b3e84c3e7ed0842b913402045ad99f255a Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 30 一月 2024 20:06:19 +0800 Subject: [PATCH] # --- src/main/java/com/zy/common/config/CoolExceptionHandler.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/common/config/CoolExceptionHandler.java b/src/main/java/com/zy/common/config/CoolExceptionHandler.java index e6b0602..b3968a3 100644 --- a/src/main/java/com/zy/common/config/CoolExceptionHandler.java +++ b/src/main/java/com/zy/common/config/CoolExceptionHandler.java @@ -2,6 +2,7 @@ import com.core.common.R; import com.core.exception.CoolException; +import org.springframework.web.HttpRequestMethodNotSupportedException; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annotation.RestControllerAdvice; import org.springframework.web.method.HandlerMethod; -- Gitblit v1.9.1