From a1fd0c6b12981bcf6ab18f508b196f82e895a07b Mon Sep 17 00:00:00 2001 From: lkw2731938298 <133633447+lkw2731938298@users.noreply.github.com> Date: Fri, 25 Apr 2025 14:34:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=A7=A3=E9=87=8A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../market/common/advice/ExceptionControllerAdvice.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/superMarket-backend/src/main/java/com/shanzhu/market/common/advice/ExceptionControllerAdvice.java b/superMarket-backend/src/main/java/com/shanzhu/market/common/advice/ExceptionControllerAdvice.java index fec8bd2..a144c40 100644 --- a/superMarket-backend/src/main/java/com/shanzhu/market/common/advice/ExceptionControllerAdvice.java +++ b/superMarket-backend/src/main/java/com/shanzhu/market/common/advice/ExceptionControllerAdvice.java @@ -19,7 +19,8 @@ import org.springframework.web.bind.annotation.RestControllerAdvice; /** * 统一异常处理类的基类 */ -定义类的注释,说明该类的作用 +定义类的注释, +说明该类的作用 @RestControllerAdvice // 声明该类为全局异常处理类,返回JSON格式的响应