From 41fd16e5d3ad94b2461d93cee104a4eacd7ebad1 Mon Sep 17 00:00:00 2001 From: panlinlin <648540858@qq.com> Date: Thu, 25 Jun 2026 22:15:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AF=B9=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=A4=A7=E5=B0=8F=E8=B6=85=E9=99=90=E7=9A=84?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/genersoft/iot/vmp/conf/GlobalExceptionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/genersoft/iot/vmp/conf/GlobalExceptionHandler.java b/src/main/java/com/genersoft/iot/vmp/conf/GlobalExceptionHandler.java index b0137a25f..c67ab02f4 100644 --- a/src/main/java/com/genersoft/iot/vmp/conf/GlobalExceptionHandler.java +++ b/src/main/java/com/genersoft/iot/vmp/conf/GlobalExceptionHandler.java @@ -41,7 +41,7 @@ public class GlobalExceptionHandler { @ExceptionHandler(MaxUploadSizeExceededException.class) @ResponseStatus(HttpStatus.FORBIDDEN) public WVPResult exceptionHandler(MaxUploadSizeExceededException e) { - return WVPResult.fail(ErrorCode.ERROR403); + return WVPResult.fail(ErrorCode.ERROR403.getCode(), "文件过大"); } /**