From 05ab150b8ee4469a596e52d64bd64271d3c6bacf Mon Sep 17 00:00:00 2001 From: gewuyou Date: Mon, 9 Jun 2025 21:14:12 +0800 Subject: [PATCH] =?UTF-8?q?refactor(forgeboot-webmvc):=20=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=20WebMvcExceptionProperties=20=E4=B8=AD=E6=9C=AA?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84=20enable=20=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除了 WebMvcExceptionProperties 类中未使用的 enable 属性 -简化了配置结构,提高了代码的可维护性 --- .../exception/config/entities/WebMvcExceptionProperties.kt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/forgeboot-webmvc/exception/src/main/kotlin/com/gewuyou/forgeboot/webmvc/exception/config/entities/WebMvcExceptionProperties.kt b/forgeboot-webmvc/exception/src/main/kotlin/com/gewuyou/forgeboot/webmvc/exception/config/entities/WebMvcExceptionProperties.kt index 30d0367..6995659 100644 --- a/forgeboot-webmvc/exception/src/main/kotlin/com/gewuyou/forgeboot/webmvc/exception/config/entities/WebMvcExceptionProperties.kt +++ b/forgeboot-webmvc/exception/src/main/kotlin/com/gewuyou/forgeboot/webmvc/exception/config/entities/WebMvcExceptionProperties.kt @@ -16,13 +16,6 @@ class WebMvcExceptionProperties { } - /** - * 是否启用国际化 - * - * @param enable 是否启用国际化 - */ - var enable: Boolean = false - /** * 设置其他通用外部异常的错误代码 *